Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_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.001552/0.001552, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001375/0.001375, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.854/2.854, 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.002828/0.002828, allocations: 59.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2003, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.7301/0.9306, allocations: 186.6 MB / 0.5019 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.9463, allocations: 4.79 MB / 0.5066 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.9474, allocations: 4 kB / 0.5066 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.9495, allocations: 246.5 kB / 0.5068 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.9518, allocations: 373.8 kB / 0.5072 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02021/0.9721, allocations: 2.872 MB / 0.51 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.9758, allocations: 1.165 MB / 0.5111 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009552/0.9768, allocations: 153.9 kB / 0.5113 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.9885, allocations: 1.441 MB / 0.5127 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.9904, allocations: 438.5 kB / 0.5131 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.9911, allocations: 60 kB / 0.5132 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02068/1.012, allocations: 4.079 MB / 0.5172 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000949/1.013, allocations: 239.5 kB / 0.5174 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/1.014, allocations: 318.9 kB / 0.5177 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/1.031, allocations: 2.896 MB / 0.5205 GB, free: 9.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.387e-05/1.031, allocations: 0 / 0.5205 GB, free: 9.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.684e-06/1.031, allocations: 0 / 0.5205 GB, free: 9.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.608e-05/1.031, allocations: 0 / 0.5205 GB, free: 9.195 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005011/1.036, allocations: 1.142 MB / 0.5216 GB, free: 8.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001289/1.036, allocations: 8.031 kB / 0.5216 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/1.036, allocations: 86.52 kB / 0.5217 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/1.037, allocations: 63.42 kB / 0.5218 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.038, allocations: 357.9 kB / 0.5221 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/1.038, allocations: 44.94 kB / 0.5222 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.039, allocations: 40 kB / 0.5222 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/1.04, allocations: 0.5023 MB / 0.5227 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/1.041, allocations: 0 / 0.5227 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.041, allocations: 20 kB / 0.5227 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/1.041, allocations: 11.98 kB / 0.5227 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/1.043, allocations: 0.605 MB / 0.5233 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007841/1.051, allocations: 2.175 MB / 0.5254 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/1.053, allocations: 0.5477 MB / 0.526 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/1.054, allocations: 262 kB / 0.5262 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/1.056, allocations: 0.697 MB / 0.5269 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/1.056, allocations: 43 kB / 0.5269 GB, free: 2.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 5.61e-06/1.056, allocations: 0 / 0.5269 GB, free: 2.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.4165/1.472, allocations: 3.64 MB / 0.5305 GB, free: 166.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/1.472, allocations: 60.06 kB / 0.5306 GB, free: 166.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/1.473, allocations: 290.5 kB / 0.5308 GB, free: 166 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/1.474, allocations: 39.61 kB / 0.5309 GB, free: 166 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/1.474, allocations: 202 kB / 0.5311 GB, free: 165.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/1.474, allocations: 226.8 kB / 0.5313 GB, free: 165.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/1.475, allocations: 113 kB / 0.5314 GB, free: 165.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003432/1.475, allocations: 348.8 kB / 0.5317 GB, free: 165.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.477, allocations: 318.3 kB / 0.532 GB, free: 165.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.478, allocations: 390.3 kB / 0.5324 GB, free: 165.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/1.482, allocations: 0.705 MB / 0.5331 GB, free: 164.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.482, allocations: 3.938 kB / 0.5331 GB, free: 164.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.005381/1.487, allocations: 0.9574 MB / 0.534 GB, free: 164.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/1.487, allocations: 5.75 kB / 0.534 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.487, allocations: 3.281 kB / 0.534 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/1.491, allocations: 337.9 kB / 0.5344 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.492, allocations: 123.6 kB / 0.5345 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/1.5, allocations: 3.712 MB / 0.5381 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.501, allocations: 38.89 kB / 0.5381 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/1.502, allocations: 25.84 kB / 0.5382 GB, free: 160.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0009582/1.503, allocations: 197.8 kB / 0.5384 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006405/1.503, allocations: 43.3 kB / 0.5384 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/1.51, allocations: 1.017 MB / 0.5394 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/1.51, allocations: 6.531 kB / 0.5394 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/1.51, allocations: 0.5625 kB / 0.5394 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004809/1.515, allocations: 1.072 MB / 0.5404 GB, free: 159.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/1.522, allocations: 1.707 MB / 0.5421 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/1.522, allocations: 2.875 kB / 0.5421 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.524, allocations: 113.7 kB / 0.5422 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003433/1.527, allocations: 375.8 kB / 0.5426 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003291/1.527, allocations: 24.11 kB / 0.5426 GB, free: 158.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/1.53, allocations: 0.8623 MB / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.53, allocations: 0 / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/1.536, allocations: 1.345 MB / 0.5448 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/1.537, allocations: 113.9 kB / 0.5449 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.537, allocations: 17.5 kB / 0.5449 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.538, allocations: 47.83 kB / 0.5449 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/1.538, allocations: 42.05 kB / 0.545 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/1.538, allocations: 34.28 kB / 0.545 GB, free: 157.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006211/1.539, allocations: 222 kB / 0.5452 GB, free: 157.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.539, allocations: 0 / 0.5452 GB, free: 157.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002733/1.542, allocations: 454.5 kB / 0.5456 GB, free: 157.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006835/1.549, allocations: 2.367 MB / 0.548 GB, free: 156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/1.553, allocations: 1.053 MB / 0.549 GB, free: 155.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.553, allocations: 3.969 kB / 0.549 GB, free: 155.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.554, allocations: 420.5 kB / 0.5494 GB, free: 155.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.557, allocations: 303.6 kB / 0.5497 GB, free: 155.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.573, allocations: 5.783 MB / 0.5553 GB, free: 150.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/1.574, allocations: 0.8454 MB / 0.5562 GB, free: 150 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001096/1.575, allocations: 134.2 kB / 0.5563 GB, free: 149.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/1.575, allocations: 163.4 kB / 0.5564 GB, free: 149.7 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/1.575, allocations: 0 / 0.5564 GB, free: 149.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.702, allocations: 26.85 MB / 0.5827 GB, free: 122.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.13/21.83, allocations: 7.688 kB / 0.5827 GB, free: 122.8 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches