Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_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.001481/0.001481, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001398/0.001398, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 56.14 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07368/0.07495, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2837/0.3587, allocations: 152.7 MB / 480.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.3595, allocations: 0.5907 MB / 480.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.3595, allocations: 0 / 480.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.3599, allocations: 63.64 kB / 480.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.3603, allocations: 153.1 kB / 480.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.3628, allocations: 1.085 MB / 482 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.3631, allocations: 326.9 kB / 482.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3632, allocations: 9.391 kB / 482.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3635, allocations: 163.4 kB / 482.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3637, allocations: 119.6 kB / 482.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3637, allocations: 12 kB / 482.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.3659, allocations: 1.575 MB / 484.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.366, allocations: 67.84 kB / 484.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.3661, allocations: 91.64 kB / 484.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.3675, allocations: 0.9979 MB / 485.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3675, allocations: 0 / 485.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3675, allocations: 1.125 kB / 485.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3676, allocations: 0 / 485.3 MB, free: 8.996 MB / 382.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.001532/0.3691, allocations: 0.6755 MB / 486 MB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.3691, allocations: 12.03 kB / 486 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.3692, allocations: 50.73 kB / 486.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3693, allocations: 24.73 kB / 486.1 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3695, allocations: 215.6 kB / 486.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3695, allocations: 12.33 kB / 486.3 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.3696, allocations: 19.98 kB / 486.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.3702, allocations: 261.4 kB / 486.6 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3702, allocations: 4 kB / 486.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3702, allocations: 7.984 kB / 486.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3702, allocations: 11.75 kB / 486.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.3709, allocations: 263.7 kB / 486.9 MB, free: 7.355 MB / 382.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.001356/0.3722, allocations: 0.7936 MB / 487.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.3728, allocations: 217.2 kB / 487.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.3731, allocations: 137.6 kB / 488 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.3735, allocations: 352.4 kB / 488.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3735, allocations: 50.48 kB / 488.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.3736, allocations: 0 / 488.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00239/0.3759, allocations: 0.6623 MB / 489.1 MB, free: 4.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.376, allocations: 81.11 kB / 489.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.3761, allocations: 125.8 kB / 489.3 MB, free: 4.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3761, allocations: 37.7 kB / 489.3 MB, free: 4.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.3762, allocations: 104.8 kB / 489.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.3763, allocations: 130.2 kB / 489.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3764, allocations: 73.55 kB / 489.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.3765, allocations: 326.8 kB / 489.9 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.3769, allocations: 123.9 kB / 490 MB, free: 3.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.3775, allocations: 211.6 kB / 490.2 MB, free: 3.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.3784, allocations: 363.9 kB / 490.6 MB, free: 3.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3784, allocations: 0 / 490.6 MB, free: 3.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009938/0.3794, allocations: 405.3 kB / 491 MB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3794, allocations: 11.98 kB / 491 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3794, allocations: 0 / 491 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3794, allocations: 4 kB / 491 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.3799, allocations: 84.97 kB / 491.1 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3799, allocations: 15.88 kB / 491.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3802, allocations: 31.83 kB / 491.1 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3803, allocations: 15.98 kB / 491.1 MB, free: 2.754 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.0001135/0.3804, allocations: 143.4 kB / 491.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.3805, allocations: 15.81 kB / 491.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.3809, allocations: 181.7 kB / 491.5 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3809, allocations: 4 kB / 491.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3809, allocations: 1.312 kB / 491.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.381, allocations: 3.984 kB / 491.5 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3825, allocations: 0.7637 MB / 492.3 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3825, allocations: 3.938 kB / 492.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.383, allocations: 75.89 kB / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.383, allocations: 7.984 kB / 492.3 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.383, allocations: 8.156 kB / 492.3 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.383, allocations: 8 kB / 492.4 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.383, allocations: 7.938 kB / 492.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3844, allocations: 0.706 MB / 493.1 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3845, allocations: 128.7 kB / 493.2 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3846, allocations: 8 kB / 493.2 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.3849, allocations: 19.98 kB / 493.2 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.385, allocations: 27.91 kB / 493.3 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.385, allocations: 16.36 kB / 493.3 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.076e-05/0.3851, allocations: 99.2 kB / 493.4 MB, free: 420 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3851, allocations: 4 kB / 493.4 MB, free: 416 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.3856, allocations: 143.9 kB / 493.5 MB, free: 272 kB / 382.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.001809/0.3874, allocations: 1.375 MB / 494.9 MB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.3884, allocations: 352 kB / 495.2 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3884, allocations: 4 kB / 495.2 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.3888, allocations: 180.5 kB / 495.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.3895, allocations: 90.19 kB / 495.5 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.3939, allocations: 2.817 MB / 498.3 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3941, allocations: 0.7293 MB / 499 MB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.3945, allocations: 81.89 kB / 499.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3947, allocations: 63.56 kB / 499.2 MB, free: 10.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3947, allocations: 0 / 499.2 MB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2257/0.6204, allocations: 8.175 MB / 0.4955 GB, free: 2.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/9.995, allocations: 4 kB / 0.4955 GB, free: 2.121 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches