-
Notifications
You must be signed in to change notification settings - Fork 167
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
Specifiy setup for MSL Regression Testing #1392
Comments
Comment by dietmarw on 13 Jan 2014 14:03 UTC Also for section "3.4 Result file sizes" I would say that versioning the reference result data is enough. If people like to check the exact tool result they can simply rerun the simulation. |
Comment by jmattsson on 16 Jan 2014 09:16 UTC |
Comment by leo.gall on 16 Jan 2014 11:16 UTC
You are right, tool vendors only need to submit a subset. A minimum set of files from tool vendors would be:
It would be nice to have (additionally):
I don't have a strong opinion on file names and structure of log files. So, feel free to propose improvements, if it would facilitate your work of generating results. |
Comment by sjoelund.se on 21 Jan 2014 11:32 UTC |
Comment by sjoelund.se on 21 Jan 2014 11:35 UTC |
Comment by leo.gall on 22 Jan 2014 16:50 UTC
Section 2.3 assumes the hierarchical structure which has been preferred in section 2.2. I'm aware that it is odd to have ModelName.csv instead of result.csv.
If more people prefer the flat folder structure, we could switch to that. |
Comment by leo.gall on 22 Jan 2014 16:59 UTC
I agree, comparisonSignals.txt could be mandatory for reference files. For tool vendors, it is not necessary to submit comparisonSignals.txt together with each set of CSV files. That's just redundant. |
Comment by jmattsson on 23 Jan 2014 08:30 UTC
Seems reasonable.
I prefer the hierarchical structure. |
Comment by leo.gall on 18 Jun 2014 10:50 UTC
|
Comment by sjoelund.se on 23 Jun 2014 10:16 UTC |
Comment by sjoelund.se on 24 Jun 2014 09:28 UTC
|
Comment by leo.gall on 25 Jun 2014 09:09 UTC
Does write access help? |
Comment by leo.gall on 25 Jun 2014 09:21 UTC
What would be the purpose of "empty" reference files? I tried with the compare tool and it accepts csv files with time as the only column if we add "," to the end of line:
We could add these empty files, if this helps? |
Comment by sjoelund.se on 25 Jun 2014 10:15 UTC
You don't have permission to access /projects/RegressionTesting/AccessInfo/write-access/README.html on this server. (using my MA credentials) |
Comment by sjoelund.se on 25 Jun 2014 10:17 UTC
Consistency. Right now I would need to add some special cases to run this test and not upload a result-file. It makes little sense to have a regression testing suite with models that you don't check anything for anyway. |
Comment by leo.gall on 25 Jun 2014 14:05 UTC
I don't know how your scripts work, but as you have to read the comparison signals file, it should be easy to not store csv results if there are no comparison signals defined. But if it's tedious I can create empty reference files. It shouldn't be to many cases.
I agree, therefore I tried to define comparison signals when ever possible. But as we used a tagged version for creating reference results, I couldn't change the test cases. Even if there are no comparison signals defined, we can test if the model simulates or not. |
Comment by sjoelund.se on 25 Jun 2014 14:09 UTC
I do? It was simpler to just read the first line of the csv-file ;) |
Comment by anonymous on 9 Feb 2015 14:27 UTC |
Comment by frenkel on 17 Feb 2015 13:32 UTC
After solving the initial equation system In the reference results from Dymola is only stored
There should be a desicion how to handle this (for example): From my point of view I prefer a., because then also the results of the initial system are compareable. But then may be Dymola is not the right choise for generate reference results. |
Comment by frenkel on 20 Feb 2015 12:28 UTC
The strange point is that the value of |
Comment by jmattsson on 20 Feb 2015 12:39 UTC
I suspect that the expression evaluates to a number x such that 63.9999995 =< x < 64, which is then printed with 6 decimals as 64.000000. |
Comment by frenkel on 20 Feb 2015 14:38 UTC
calculated different values for different output lengths. |
Comment by jfrenkel on 24 Feb 2015 11:55 UTC It looks like that the results are generated with a version prior to 0414edc, d5a38e5. The same hold are for the other Modelica.Electrical.Machines.Examples. |
Comment by jfrenkel on 25 Feb 2015 12:02 UTC |
Comment by leo.gall on 16 Mar 2015 08:13 UTC The current (MSL 3.2.1+build.2) CSV reference results have been commited here: Now, as the reference files are under version control, we can start to update and improve them. But this isn't part of the current contract with MA, so I have to see when I can squeeze this in. |
Comment by otter on 22 Jun 2015 13:04 UTC |
Reported by leo.gall on 13 Jan 2014 11:07 UTC
As decided at the 81st Modelica Design Meeting, I worked on the details of MSL regression tests.
You can find a draft proposal attached to this ticket.
SetupForMSLRegressionTesting_2014-01-13.pdf
This is an early draft. Any comments to the planned file structure, naming, and the overall test procedure are highly welcome!
@tool vendors: Are you able to submit the proposed file structure?
@Library officers / MAP-LIB: Any information missing? Should the full result file (Dymola: .mat) be stored or not?
@dietmar: Any improvements needed in order to make generation of the overview table easier?
After deciding on file structure and simulation settings, I'm going to create a first set of reference result files.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1392
The text was updated successfully, but these errors were encountered: