Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_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.001664/0.001664, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001795/0.001795, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 44.06 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.249, allocations: 49.44 MB / 400.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02935/0.2784, allocations: 26.44 MB / 426.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.2812, allocations: 2.231 MB / 428.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.2813, allocations: 0 / 428.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.2817, allocations: 67.64 kB / 429 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.2823, allocations: 155.1 kB / 429.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.2981, allocations: 6.528 MB / 435.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.2985, allocations: 310.9 kB / 436 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.2986, allocations: 9.125 kB / 436 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2989, allocations: 143.5 kB / 436.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2991, allocations: 115.6 kB / 436.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.2991, allocations: 12 kB / 436.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.3156, allocations: 9.507 MB / 445.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3157, allocations: 67.8 kB / 445.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3159, allocations: 95.64 kB / 445.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3264, allocations: 4.701 MB / 450.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.3264, allocations: 7.984 kB / 450.6 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3265, allocations: 0 / 450.6 MB, free: 6.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3265, allocations: 0 / 450.6 MB, free: 6.434 MB / 366.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.003323/0.3298, allocations: 1.146 MB / 451.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3299, allocations: 12.03 kB / 451.8 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.605e-05/0.3299, allocations: 50.73 kB / 451.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3301, allocations: 28.39 kB / 451.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.3304, allocations: 222.7 kB / 452.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3304, allocations: 12.33 kB / 452.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.3305, allocations: 20 kB / 452.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.3312, allocations: 281.4 kB / 452.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3313, allocations: 8 kB / 452.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.3313, allocations: 4 kB / 452.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.3313, allocations: 11.94 kB / 452.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.3321, allocations: 315.6 kB / 452.7 MB, free: 4.227 MB / 366.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.0015/0.3337, allocations: 0.8246 MB / 453.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/0.3344, allocations: 257.1 kB / 453.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3347, allocations: 133.6 kB / 453.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.35, allocations: 12.85 MB / 466.7 MB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.3501, allocations: 42.5 kB / 466.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.3501, allocations: 0 / 466.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002946/0.353, allocations: 0.7009 MB / 467.5 MB, free: 2.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3531, allocations: 81.11 kB / 467.6 MB, free: 2.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3532, allocations: 125.8 kB / 467.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.3533, allocations: 33.7 kB / 467.7 MB, free: 2.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3533, allocations: 108.9 kB / 467.8 MB, free: 2.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3535, allocations: 130.8 kB / 468 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3536, allocations: 77.62 kB / 468 MB, free: 2.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3537, allocations: 330.8 kB / 468.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.3541, allocations: 135.9 kB / 468.5 MB, free: 1.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.3546, allocations: 211.5 kB / 468.7 MB, free: 1.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.3555, allocations: 357.9 kB / 469 MB, free: 1.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3556, allocations: 0 / 469 MB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00119/0.3567, allocations: 421.1 kB / 469.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3568, allocations: 4 kB / 469.5 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3568, allocations: 12.16 kB / 469.5 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3568, allocations: 4 kB / 469.5 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.3573, allocations: 95.81 kB / 469.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3574, allocations: 7.938 kB / 469.6 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.3577, allocations: 19.98 kB / 469.6 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.3577, allocations: 19.98 kB / 469.6 MB, free: 0.5664 MB / 382.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.000161/0.3579, allocations: 145.7 kB / 469.8 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.358, allocations: 23.91 kB / 469.8 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.3585, allocations: 182.3 kB / 470 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3585, allocations: 7.938 kB / 470 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3586, allocations: 4 kB / 470 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3586, allocations: 0 / 470 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.3603, allocations: 0.7635 MB / 470.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3603, allocations: 4 kB / 470.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.3608, allocations: 75.88 kB / 470.8 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.3608, allocations: 4.156 kB / 470.8 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.3608, allocations: 19.98 kB / 470.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3608, allocations: 4 kB / 470.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3608, allocations: 3.938 kB / 470.8 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.3624, allocations: 0.6999 MB / 471.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3626, allocations: 128.9 kB / 471.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.3626, allocations: 8 kB / 471.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.363, allocations: 15.98 kB / 471.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3631, allocations: 31.84 kB / 471.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.3631, allocations: 15.98 kB / 471.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.3632, allocations: 103.3 kB / 471.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3632, allocations: 0 / 471.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002518/0.3657, allocations: 0.9549 MB / 472.8 MB, free: 13.25 MB / 398.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 (37): * Single equations (assignments): 37 * 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.006546/0.3723, allocations: 2.391 MB / 475.2 MB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3734, allocations: 343.4 kB / 475.5 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3734, allocations: 4.375 kB / 475.5 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.3739, allocations: 183.7 kB / 475.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.3747, allocations: 104.1 kB / 475.8 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.381, allocations: 3.165 MB / 479 MB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3814, allocations: 0.7332 MB / 479.7 MB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.3818, allocations: 82.05 kB / 479.8 MB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.382, allocations: 79.38 kB / 479.9 MB, free: 5.953 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.382, allocations: 0 / 479.9 MB, free: 5.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.4441, allocations: 32.51 MB / 0.5004 GB, free: 5.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.248/9.692, allocations: 0 / 0.5004 GB, free: 5.555 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches