Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split test jobs to avoid duplicate work #196

Open
casella opened this issue Feb 17, 2025 · 1 comment
Open

Split test jobs to avoid duplicate work #196

casella opened this issue Feb 17, 2025 · 1 comment
Assignees

Comments

@casella
Copy link
Collaborator

casella commented Feb 17, 2025

Currently we have some test jobs that unnecessarily carry out duplicate work:

  • the master-fmi and the master-fmi-fmpy jobs each build the FMUs before running them, but that's not necessary, the FMUs could just be built once and then ran twice, once with OMSimulator and once with FMPy
  • the gbode task currrently runs once with the default parameters - in the future, we could try different gbode settings (e.g. different algorithms, possibly including multi-rate) for which there is no need to re-compile the simulation code.

We should probably split some of the test jobs to avoid this issue.

@casella
Copy link
Collaborator Author

casella commented Feb 17, 2025

For the FMI jobs, it seems that the majority of time is spent building the code, so splitting the test job would lead to a saving of almost 50% of the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants