Conformance testing of FMI calling sequence for simulation environments
Abstract
Exchanging simulation models is currently of utmost importance. To improve interoperability between suppliers and original equipment manufacturers (OEMs), the functional mock-up interface (FMI) is exchanged in a standard format called functional mock-up unit (FMU). Since its first release, many simulation tools took the initiative to support FMI. However, since then, there have been many complaints stating that exchanging models via FMI does not work as stable as expected. The reason usually turned out to be the implementation of tool vendors that sometimes fail to comply with the standard fully. This paper introduces a methodology for testing FMI compliance of importing simulation tools using a set of reference FMUs. The standard defines the implementation of FMI functions calling sequence in a state machine. Therefore, conformance testing (also called fault detection) from automata theory is utilized to produce reference FMUs based on the FMI state-machine.