Skip to main content

Dynamic Systems Testing Framework (DSTF)

quality

DSTF is regression and unit testing for the behaviour of time-dependent systems: Modelica libraries, FMUs, Julia models, or anything Python can compute. It finds a library's tests, simulates them with a backend — Dymola, OpenModelica, FMPy, Julia or Python, or one a plug-in adds — and scores each result against a stored baseline by the criteria you write. It reports a verdict per test on the command line, as JUnit XML for CI, and as a dashboard and a page per test in the browser.

DSTF is in beta: the command line and the testing.json keys may still change between minor versions; the changelog says when.

Install

$ uv tool install dynamic-systems-testing-framework

or pipx install dynamic-systems-testing-framework. The command is dstf. The author extra adds dstf author, a browser tool for writing criteria beside the plots they score; fmpy and om add what the FMPy and OpenModelica backends drive.

A first run

The Python example library needs no simulator. From a clone of this repository, in a Python environment with numpy and scipy:

$ git clone https://github.com/ORNL-Modelica/DynamicSystemsTestingFramework.git
$ cd DynamicSystemsTestingFramework
$ python3 -m pip install numpy scipy
$ dstf --config examples/python/PythonTestingLib/Resources/ReferenceResults/testing.json run

It runs three tests, compares each with its stored baseline, prints a verdict per test and opens the dashboard:

The dashboard: one row per test with its status, worst NRMSE, criteria passed and times

Documentation

https://dstf.readthedocs.io/ — a first run, setting up testing.json for your library, adding tests, reading results, baselines, criteria, CI, a page per simulator, writing a backend plug-in, and a reference of every command, key and comparison mode.

Changelog and licence

What changed in each version is in CHANGELOG.md. DSTF is released under the MIT licence: LICENSE.

Metadata

Release files for dynamic-systems-testing-framework 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dynamic-systems-testing-framework 1.3.0
File Size Uploaded Provenance
dynamic_systems_testing_framework-1.3.0.tar.gz 1.3 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dynamic-systems-testing-framework 1.3.0
File Interpreter ABI Platform
dynamic_systems_testing_framework-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / dynamic_systems_testing_framework-1.3.0.tar.gz

Download URL dynamic_systems_testing_framework-1.3.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
06e6f62d7ecf03b6a94309da8f90b46a99f1a235354de54d03a052139952f200
BLAKE2b-256 checksum
How to use checksums
8670435d14ca33dfac2ba2f58719452b510630eaa5b800ebce60ecf7c3e4b56c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / dynamic_systems_testing_framework-1.3.0-py3-none-any.whl

Download URL dynamic_systems_testing_framework-1.3.0-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
244ea0a54af1c64008f045f4c5ac258b64671a63ffc327a462ea304d977270f3
BLAKE2b-256 checksum
How to use checksums
c64f96dd27b076f5e5622ada372adc5325f50a05d705db0e995987933a274c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for dynamic-systems-testing-framework 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dynamic_systems_testing_framework-1.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page