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.001749/0.001749, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.001881/0.001881, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.723/2.723, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002712/0.002712, allocations: 48.39 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1403, allocations: 46.64 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.485/0.6254, allocations: 152.7 MB / 480.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.6265, allocations: 0.5906 MB / 480.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.6266, allocations: 0 / 480.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.6271, allocations: 63.64 kB / 480.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.6275, allocations: 158 kB / 480.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.6311, allocations: 1.073 MB / 482 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.6317, allocations: 330.9 kB / 482.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.6318, allocations: 13.45 kB / 482.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.6321, allocations: 151.4 kB / 482.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.6324, allocations: 127.6 kB / 482.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.6324, allocations: 12 kB / 482.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.6358, allocations: 1.568 MB / 484.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.6359, allocations: 71.83 kB / 484.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.6361, allocations: 95.66 kB / 484.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.6389, allocations: 1.002 MB / 485.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.639, allocations: 0 / 485.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.639, allocations: 0 / 485.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.639, allocations: 0 / 485.3 MB, free: 9.004 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.002103/0.6411, allocations: 0.6755 MB / 486 MB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6411, allocations: 8.031 kB / 486 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.6412, allocations: 54.73 kB / 486.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.6414, allocations: 20.75 kB / 486.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.6417, allocations: 212.6 kB / 486.3 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.6417, allocations: 16.33 kB / 486.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.6418, allocations: 16 kB / 486.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.6424, allocations: 265.3 kB / 486.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.6425, allocations: 0 / 486.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.6425, allocations: 8 kB / 486.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.6425, allocations: 11.92 kB / 486.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.6433, allocations: 263.8 kB / 486.9 MB, free: 7.371 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.001757/0.645, allocations: 0.7936 MB / 487.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.6458, allocations: 228.5 kB / 487.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.6461, allocations: 141.6 kB / 488 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.6467, allocations: 352.4 kB / 488.4 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6468, allocations: 34.56 kB / 488.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/0.6468, allocations: 0 / 488.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002627/0.6494, allocations: 0.6777 MB / 489.1 MB, free: 4.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.6495, allocations: 81.11 kB / 489.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.6496, allocations: 117.8 kB / 489.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.6497, allocations: 33.7 kB / 489.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.6498, allocations: 108.8 kB / 489.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6499, allocations: 122.2 kB / 489.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.65, allocations: 81.55 kB / 489.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6502, allocations: 322.8 kB / 489.9 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.6506, allocations: 135.9 kB / 490 MB, free: 3.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.6511, allocations: 203.5 kB / 490.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.6521, allocations: 360 kB / 490.6 MB, free: 3.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6521, allocations: 3.938 kB / 490.6 MB, free: 3.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001147/0.6532, allocations: 413.3 kB / 491 MB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6533, allocations: 4 kB / 491 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6533, allocations: 4 kB / 491 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6533, allocations: 4 kB / 491 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.6539, allocations: 87.88 kB / 491.1 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.6539, allocations: 4 kB / 491.1 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.6542, allocations: 29.75 kB / 491.1 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.6543, allocations: 20 kB / 491.2 MB, free: 2.77 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.0001622/0.6545, allocations: 145.7 kB / 491.3 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.6545, allocations: 15.81 kB / 491.3 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.655, allocations: 175.6 kB / 491.5 MB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.655, allocations: 4 kB / 491.5 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.655, allocations: 7.922 kB / 491.5 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.655, allocations: 0 / 491.5 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.6568, allocations: 0.763 MB / 492.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6568, allocations: 7.875 kB / 492.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.6573, allocations: 83.88 kB / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.6573, allocations: 0 / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.6574, allocations: 12 kB / 492.4 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.6574, allocations: 3.984 kB / 492.4 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6574, allocations: 5.188 kB / 492.4 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.6589, allocations: 0.7107 MB / 493.1 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6591, allocations: 120.8 kB / 493.2 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.6591, allocations: 8 kB / 493.2 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.6596, allocations: 28.03 kB / 493.2 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.6597, allocations: 24.91 kB / 493.3 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.6597, allocations: 12 kB / 493.3 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.822e-05/0.6598, allocations: 95.64 kB / 493.4 MB, free: 432 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6599, allocations: 0 / 493.4 MB, free: 432 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007744/0.6606, allocations: 147.9 kB / 493.5 MB, free: 284 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.002698/0.6633, allocations: 1.372 MB / 494.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.6644, allocations: 363.5 kB / 495.2 MB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6644, allocations: 3.938 kB / 495.2 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.6649, allocations: 181.2 kB / 495.4 MB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.6657, allocations: 100.7 kB / 495.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.6712, allocations: 2.806 MB / 498.3 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.6717, allocations: 0.741 MB / 499.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004513/0.6722, allocations: 69.91 kB / 499.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.6724, allocations: 63.41 kB / 499.2 MB, free: 10.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.274e-06/0.6724, allocations: 0 / 499.2 MB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.7074, allocations: 8.167 MB / 0.4955 GB, free: 2.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.05, allocations: 19.98 kB / 0.4955 GB, free: 2.117 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/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