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.001636/0.001636, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2424, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4284/0.6708, allocations: 154.4 MB / 0.55 GB, free: 0.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.6722, allocations: 1.614 MB / 0.5516 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.6723, allocations: 2.5 kB / 0.5516 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.6726, allocations: 71.19 kB / 0.5516 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.673, allocations: 164.6 kB / 0.5518 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.6751, allocations: 1.028 MB / 0.5528 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.6754, allocations: 351 kB / 0.5531 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.6755, allocations: 9.562 kB / 0.5531 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.6757, allocations: 167.4 kB / 0.5533 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.6759, allocations: 127.7 kB / 0.5534 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.676, allocations: 17.5 kB / 0.5534 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.678, allocations: 1.621 MB / 0.555 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.6781, allocations: 74.95 kB / 0.5551 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.6782, allocations: 105.8 kB / 0.5552 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.6793, allocations: 1.033 MB / 0.5562 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6793, allocations: 0 / 0.5562 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6793, allocations: 3.75 kB / 0.5562 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.6794, allocations: 0 / 0.5562 GB, free: 0.6016 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.001704/0.6811, allocations: 0.7163 MB / 0.5569 GB, free: 16.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6811, allocations: 15.23 kB / 0.5569 GB, free: 16.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.6812, allocations: 46.56 kB / 0.557 GB, free: 16.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.6813, allocations: 22.09 kB / 0.557 GB, free: 16.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.6816, allocations: 220.9 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.6816, allocations: 11.86 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.6816, allocations: 24.91 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.6821, allocations: 263.4 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6822, allocations: 0 / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.6822, allocations: 6.219 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.6822, allocations: 6.375 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.6828, allocations: 271.1 kB / 0.5578 GB, free: 15.78 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.001365/0.6841, allocations: 0.7882 MB / 0.5585 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.6847, allocations: 233.3 kB / 0.5587 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.685, allocations: 134.7 kB / 0.5589 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.6853, allocations: 355 kB / 0.5592 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.6854, allocations: 38.38 kB / 0.5592 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.6854, allocations: 0 / 0.5592 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002195/0.6876, allocations: 0.6857 MB / 0.5599 GB, free: 14.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.6877, allocations: 82.95 kB / 0.56 GB, free: 14.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.6878, allocations: 136.1 kB / 0.5601 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.6878, allocations: 39.89 kB / 0.5602 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.6879, allocations: 113.5 kB / 0.5603 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.688, allocations: 131 kB / 0.5604 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.6881, allocations: 75.61 kB / 0.5605 GB, free: 14.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6883, allocations: 322.7 kB / 0.5608 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.6886, allocations: 137.3 kB / 0.5609 GB, free: 13.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.689, allocations: 205.5 kB / 0.5611 GB, free: 13.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.6897, allocations: 365.4 kB / 0.5615 GB, free: 13.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6897, allocations: 1.203 kB / 0.5615 GB, free: 13.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000833/0.6906, allocations: 416.5 kB / 0.5619 GB, free: 13.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6906, allocations: 5.75 kB / 0.5619 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6906, allocations: 2.719 kB / 0.5619 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6906, allocations: 1.812 kB / 0.5619 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.6911, allocations: 85.19 kB / 0.5619 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.6911, allocations: 13.67 kB / 0.562 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.6914, allocations: 32.83 kB / 0.562 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.6915, allocations: 14.06 kB / 0.562 GB, free: 13.73 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.0001452/0.6916, allocations: 146.9 kB / 0.5621 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.6917, allocations: 18.12 kB / 0.5622 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.692, allocations: 176.9 kB / 0.5623 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6921, allocations: 3.438 kB / 0.5623 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6921, allocations: 3.375 kB / 0.5623 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6921, allocations: 6.844 kB / 0.5623 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.6937, allocations: 0.7766 MB / 0.5631 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.6937, allocations: 1.094 kB / 0.5631 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.6941, allocations: 81.62 kB / 0.5632 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6941, allocations: 3.406 kB / 0.5632 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.6942, allocations: 14.92 kB / 0.5632 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6942, allocations: 2.75 kB / 0.5632 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6942, allocations: 3.188 kB / 0.5632 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.6954, allocations: 0.7154 MB / 0.5639 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.6956, allocations: 126.7 kB / 0.564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6956, allocations: 6.062 kB / 0.564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.696, allocations: 28.06 kB / 0.5641 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.6961, allocations: 26.48 kB / 0.5641 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.6961, allocations: 21.5 kB / 0.5641 GB, free: 12.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.6962, allocations: 103.8 kB / 0.5642 GB, free: 12.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6962, allocations: 0 / 0.5642 GB, free: 12.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005741/0.6968, allocations: 160.2 kB / 0.5644 GB, free: 12.7 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.001886/0.6987, allocations: 1.397 MB / 0.5657 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.6994, allocations: 345.9 kB / 0.566 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6995, allocations: 0 / 0.566 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.6998, allocations: 179.1 kB / 0.5662 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.7005, allocations: 108.2 kB / 0.5663 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.7049, allocations: 2.922 MB / 0.5692 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.7053, allocations: 0.7437 MB / 0.5699 GB, free: 9.441 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.7056, allocations: 76 kB / 0.57 GB, free: 9.414 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.7058, allocations: 75.77 kB / 0.57 GB, free: 9.406 MB / 478.1 MB Notification: Performance of SimCode: time 4.6e-07/0.7058, allocations: 0 / 0.57 GB, free: 9.406 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.736, allocations: 8.585 MB / 0.5784 GB, free: 8.508 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/9.159, allocations: 10.69 kB / 0.5784 GB, free: 8.504 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.1.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