Automatic Regression Testing of Simulation Models and Concept for Simulation of Connected FMUs in PySimulatorShow others and affiliations
2015 (English)In: Proceedings of the 11th International Modelica Conference: Versailles, France, September 21-23, 2015 / [ed] Peter Fritzson, Hilding Elmqvist, Linköping, 2015, p. 671-679Conference paper, Published paper (Refereed)
Abstract [en]
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. p. 671-679
Series
Linköping Electronic Conference Proceedings, ISSN 1650-3686, E-ISSN 1650-3740 ; 118
Keywords [en]
PySimulator, Regression testing, Connected FMUs, Parallel simulation, Wolfram simulator plugin
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:liu:diva-131265DOI: 10.3384/ecp15118671Libris ID: 19666910ISBN: 9789176859551 (print)OAI: oai:DiVA.org:liu-131265DiVA, id: diva2:968889
Conference
11th International Modelica Conference, Versailles, France, September 21-23, 2015
2016-09-132016-09-132021-03-31Bibliographically approved