How do I validate FMUs using FMU Check, FMPy, and FMUSim?

What are the currently recommended tools to validate FMUs? In particular, how can I validate FMUs based on FMI 3.0 standard, since the FMU Compliance Checker does not work for these?

 Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Jul 2026 at 0:00
Edited: MathWorks Support Team on 24 Jul 2026 at 8:40
The FMU Compliance Checker has been discontinued and only works for FMUs based on the FMI 1.0 and FMI 2.0 standards. To validate FMUs, including FMUs based on the FMI 3.0 standard, the FMI committee recommends using multiple tools. See https://fmi-standard.org/validation/ for a full overview.

FMU Check (web app):

You can validate your FMU using the static FMU Check web tool, which is based on FMPy and hosted by the Modelica Association.
To use the FMU Check online tool, go to https://fmu-check.herokuapp.com/ and upload your FMU file.

FMPy Python package:

The FMPy Python package can be used for runtime validation on your machine: https://github.com/CATIA-Systems/FMPy.

Reference FMUs and FMUsim:

The Reference FMUs are a set of test models and the fmusim application to simulate FMUs.
To run FMUSim:
1) Download the FMUSim pre-compiled version from: https://github.com/modelica/Reference-FMUs/releases 
The zip file you would need to download is: Reference-FMUs-v<VersionNumber>.zip
2) Unzip the file and go to the folder fmusim-windows or fmusim-linux based on the environment you want to validate.
3) Copy the FMU you want to validate to the same folder (fmusim-windows/fmusim-linux)
4) Open a terminal and enter "fmusim <FMUName.fmu>"
5) The results are stored in results.csv

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!