Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 50.53 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3675/0.5906, allocations: 154.4 MB / 0.55 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.5923, allocations: 1.611 MB / 0.5515 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.5924, allocations: 0 / 0.5515 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.5928, allocations: 75.31 kB / 0.5516 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.5932, allocations: 172.7 kB / 0.5518 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.5957, allocations: 1.035 MB / 0.5528 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.5961, allocations: 350.6 kB / 0.5531 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.5962, allocations: 15.56 kB / 0.5531 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.5964, allocations: 167.5 kB / 0.5533 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.5966, allocations: 128.5 kB / 0.5534 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.5967, allocations: 13.5 kB / 0.5534 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.599, allocations: 1.63 MB / 0.555 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.5991, allocations: 73.25 kB / 0.5551 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.5992, allocations: 99.02 kB / 0.5552 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.6005, allocations: 1.042 MB / 0.5562 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6005, allocations: 3.609 kB / 0.5562 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6005, allocations: 0 / 0.5562 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.6005, allocations: 0 / 0.5562 GB, free: 0.5586 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.001697/0.6022, allocations: 0.7106 MB / 0.5569 GB, free: 16.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6023, allocations: 10.03 kB / 0.5569 GB, free: 16.06 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.6023, allocations: 52.3 kB / 0.557 GB, free: 16.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.6025, allocations: 24.59 kB / 0.557 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.6027, allocations: 218.6 kB / 0.5572 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.6027, allocations: 13.36 kB / 0.5572 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.6028, allocations: 22.42 kB / 0.5572 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.6033, allocations: 260.5 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6033, allocations: 3.094 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.6034, allocations: 11.03 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6034, allocations: 4.781 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.604, allocations: 276.6 kB / 0.5578 GB, free: 15.73 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.001287/0.6053, allocations: 0.7853 MB / 0.5585 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.6059, allocations: 219.3 kB / 0.5587 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.6062, allocations: 144 kB / 0.5589 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.6065, allocations: 353.5 kB / 0.5592 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6065, allocations: 42.38 kB / 0.5593 GB, free: 14.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.6065, allocations: 1.094 kB / 0.5593 GB, free: 14.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002344/0.6089, allocations: 0.6837 MB / 0.5599 GB, free: 14.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.609, allocations: 79.52 kB / 0.56 GB, free: 14.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.6091, allocations: 142.4 kB / 0.5601 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.6091, allocations: 33.45 kB / 0.5602 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.6092, allocations: 111.8 kB / 0.5603 GB, free: 14.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.6093, allocations: 135.7 kB / 0.5604 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6094, allocations: 73.98 kB / 0.5605 GB, free: 14.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6095, allocations: 332.1 kB / 0.5608 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.6098, allocations: 135.4 kB / 0.5609 GB, free: 13.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.6102, allocations: 207.8 kB / 0.5611 GB, free: 13.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.611, allocations: 356.6 kB / 0.5615 GB, free: 13.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.611, allocations: 0 / 0.5615 GB, free: 13.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009072/0.6119, allocations: 422.1 kB / 0.5619 GB, free: 13.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6119, allocations: 9.281 kB / 0.5619 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.612, allocations: 4.609 kB / 0.5619 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.612, allocations: 2.531 kB / 0.5619 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.6124, allocations: 95.02 kB / 0.562 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6125, allocations: 5.234 kB / 0.562 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.6128, allocations: 27.86 kB / 0.562 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.6128, allocations: 19.95 kB / 0.562 GB, free: 13.69 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.0001429/0.613, allocations: 147.8 kB / 0.5622 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.6131, allocations: 18.47 kB / 0.5622 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.6134, allocations: 179.8 kB / 0.5624 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6134, allocations: 3.406 kB / 0.5624 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6134, allocations: 0 / 0.5624 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6134, allocations: 5.141 kB / 0.5624 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.615, allocations: 0.7702 MB / 0.5631 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6151, allocations: 2.375 kB / 0.5631 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.6155, allocations: 76.17 kB / 0.5632 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6155, allocations: 7.75 kB / 0.5632 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.6156, allocations: 11.75 kB / 0.5632 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.6156, allocations: 11.38 kB / 0.5632 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6156, allocations: 0 / 0.5632 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.6169, allocations: 0.7214 MB / 0.5639 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.617, allocations: 120.9 kB / 0.564 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.6171, allocations: 5.969 kB / 0.564 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.6175, allocations: 23.22 kB / 0.5641 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.6175, allocations: 25.08 kB / 0.5641 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.6175, allocations: 14.8 kB / 0.5641 GB, free: 12.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.493e-05/0.6176, allocations: 113.6 kB / 0.5642 GB, free: 12.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6176, allocations: 1.094 kB / 0.5642 GB, free: 12.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005855/0.6182, allocations: 158.5 kB / 0.5644 GB, free: 12.66 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.001991/0.6202, allocations: 1.392 MB / 0.5657 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008857/0.6211, allocations: 341 kB / 0.566 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6211, allocations: 3.938 kB / 0.5661 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.6215, allocations: 188.5 kB / 0.5662 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.6223, allocations: 108.5 kB / 0.5663 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.6268, allocations: 2.923 MB / 0.5692 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.6271, allocations: 0.74 MB / 0.5699 GB, free: 9.398 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003318/0.6274, allocations: 78.28 kB / 0.57 GB, free: 9.367 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.6276, allocations: 71.19 kB / 0.5701 GB, free: 9.363 MB / 478.1 MB Notification: Performance of SimCode: time 4.2e-07/0.6276, allocations: 0 / 0.5701 GB, free: 9.363 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.6533, allocations: 8.591 MB / 0.5784 GB, free: 8.461 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.505, allocations: 4.344 kB / 0.5784 GB, free: 8.457 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches