Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 107.3 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 188 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009371/0.0009371, allocations: 51.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.247, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1596/0.4067, allocations: 151.4 MB / 0.5387 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2541/0.6609, allocations: 1.587 MB / 0.5403 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.6611, allocations: 1.031 kB / 0.5403 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.6614, allocations: 66.19 kB / 0.5403 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.6619, allocations: 162.5 kB / 0.5405 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.6646, allocations: 1.021 MB / 0.5415 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.6651, allocations: 331.1 kB / 0.5418 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.6652, allocations: 9.922 kB / 0.5418 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.6655, allocations: 154 kB / 0.542 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.6658, allocations: 124.5 kB / 0.5421 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.6658, allocations: 12.66 kB / 0.5421 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.6683, allocations: 1.588 MB / 0.5436 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.6684, allocations: 69.38 kB / 0.5437 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.6685, allocations: 97.09 kB / 0.5438 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.6697, allocations: 0.9936 MB / 0.5448 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6697, allocations: 0 / 0.5448 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6697, allocations: 0 / 0.5448 GB, free: 1.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.6697, allocations: 2 kB / 0.5448 GB, free: 1.641 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001741/0.6715, allocations: 0.6843 MB / 0.5454 GB, free: 17.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6715, allocations: 11.67 kB / 0.5455 GB, free: 17.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.6716, allocations: 52.92 kB / 0.5455 GB, free: 17.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.6717, allocations: 25.62 kB / 0.5455 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.672, allocations: 216.8 kB / 0.5457 GB, free: 16.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.672, allocations: 14.08 kB / 0.5457 GB, free: 16.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.6721, allocations: 15.34 kB / 0.5458 GB, free: 16.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.6726, allocations: 263.7 kB / 0.546 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6726, allocations: 1.031 kB / 0.546 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.6727, allocations: 18.83 kB / 0.546 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.6727, allocations: 5.219 kB / 0.546 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.6733, allocations: 263.6 kB / 0.5463 GB, free: 16.85 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.6746, allocations: 0.7906 MB / 0.5471 GB, free: 16.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.6752, allocations: 219.9 kB / 0.5473 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.6754, allocations: 137 kB / 0.5474 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.6758, allocations: 360.4 kB / 0.5477 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.6758, allocations: 40.16 kB / 0.5478 GB, free: 15.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.6758, allocations: 0 / 0.5478 GB, free: 15.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002298/0.6781, allocations: 0.6714 MB / 0.5484 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.6782, allocations: 86.45 kB / 0.5485 GB, free: 15.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.6783, allocations: 118.6 kB / 0.5486 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.6783, allocations: 35.39 kB / 0.5487 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.6784, allocations: 106.5 kB / 0.5488 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.6785, allocations: 133.4 kB / 0.5489 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6786, allocations: 66.84 kB / 0.549 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6787, allocations: 326.6 kB / 0.5493 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.6791, allocations: 134.1 kB / 0.5494 GB, free: 15.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.6794, allocations: 217.3 kB / 0.5496 GB, free: 14.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.6802, allocations: 364.2 kB / 0.55 GB, free: 14.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.6802, allocations: 0 / 0.55 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008631/0.6811, allocations: 409.5 kB / 0.5503 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6811, allocations: 5.719 kB / 0.5504 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6811, allocations: 2.844 kB / 0.5504 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6811, allocations: 4.875 kB / 0.5504 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.6816, allocations: 94.36 kB / 0.5505 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.6816, allocations: 2.688 kB / 0.5505 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.6819, allocations: 28.83 kB / 0.5505 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.6819, allocations: 20.7 kB / 0.5505 GB, free: 14.85 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.6821, allocations: 147.9 kB / 0.5506 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.6822, allocations: 19.62 kB / 0.5507 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.6825, allocations: 172 kB / 0.5508 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6825, allocations: 4.094 kB / 0.5508 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6825, allocations: 1.125 kB / 0.5508 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6825, allocations: 4.734 kB / 0.5508 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.6841, allocations: 0.7573 MB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6841, allocations: 7.781 kB / 0.5516 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.6845, allocations: 82.59 kB / 0.5517 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6845, allocations: 3.453 kB / 0.5517 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.6846, allocations: 14.02 kB / 0.5517 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6846, allocations: 2.594 kB / 0.5517 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6846, allocations: 2.906 kB / 0.5517 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.6858, allocations: 0.7126 MB / 0.5524 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.686, allocations: 118.7 kB / 0.5525 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.686, allocations: 19.5 kB / 0.5525 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.6864, allocations: 21.38 kB / 0.5525 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.6864, allocations: 24.95 kB / 0.5526 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.6865, allocations: 14.95 kB / 0.5526 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.6865, allocations: 102.8 kB / 0.5527 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6865, allocations: 2 kB / 0.5527 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.6871, allocations: 136.8 kB / 0.5528 GB, free: 13.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.6889, allocations: 1.364 MB / 0.5541 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.6898, allocations: 353.1 kB / 0.5545 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6898, allocations: 0.8438 kB / 0.5545 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.6902, allocations: 182 kB / 0.5546 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.6909, allocations: 97.84 kB / 0.5547 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.6952, allocations: 2.813 MB / 0.5575 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.6955, allocations: 0.7292 MB / 0.5582 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.6959, allocations: 82.64 kB / 0.5583 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.696, allocations: 65.64 kB / 0.5583 GB, free: 10.72 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.696, allocations: 0 / 0.5583 GB, free: 10.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.72, allocations: 8.053 MB / 0.5662 GB, free: 10.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.6, allocations: 4.844 kB / 0.5662 GB, free: 10.05 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches