Automatic Regression Testing of Simulation Models and Concept for Simulation of Connected FMUs in PySimulator
2015 (English)In: Proceedings of the 11th International Modelica Conference: Versailles, France, September 21-23, 2015 / [ed] Peter Fritzson, Hilding Elmqvist, Linköping, 2015, 671-679 p.Conference paper (Refereed)
The Modelica and FMI tool ecosystem is growing each year with new tools and methods becoming available. The open Modelica standard promises portability but it is important to ensure that a certain model behaves the same in different Modelica tools or in a different version of the same tool. It is also very important (for model evolution) to check that a new version of the same model produces comparable results. Finally, it is desirable to verify that a model exported in FMU form from a Modelica tool gives exactly the same results as the original model. This paper presents a framework for automatic regression testing as part of PySimulator which provides an efficient and concise way of testing if a model or a range of models behaves in the same way in several tools or versions of a tool by checking that the results produced are essentially identical. The FMI standard has been adopted by many tool vendors and is growing in popularity each year. This paper proposes a concept for building and simulating a system made from connected FMUs generated by different tools. The FMUs for Co-Simulation can be connected together using a GUI. The system model built graphically in this way can be saved for later use or simulated directly inside PySimulator. Active development is going on to support simulation of connected FMUs for Model Exchange.
Place, publisher, year, edition, pages
Linköping, 2015. 671-679 p.
Linköping Electronic Conference Proceedings, ISSN 1650-3686 (print), 1650-3740 (online) ; 118
PySimulator, Regression testing, Connected FMUs, Parallel simulation, Wolfram simulator plugin
IdentifiersURN: urn:nbn:se:liu:diva-131265DOI: 10.3384/ecp15118671ISBN: 9789176859551OAI: oai:DiVA.org:liu-131265DiVA: diva2:968889
11th International Modelica Conference, Versailles, France, September 21-23, 2015