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.001698/0.001698, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001853/0.001853, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.685/2.685, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001724, allocations: 46.92 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1381, allocations: 49.44 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.3228/0.4609, allocations: 26.43 MB / 376.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.4654, allocations: 2.224 MB / 378.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.4657, allocations: 1.5 kB / 378.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.4661, allocations: 59.86 kB / 378.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.4667, allocations: 153.4 kB / 379 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03664/0.5034, allocations: 6.506 MB / 385.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.5042, allocations: 314.3 kB / 385.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5043, allocations: 14.19 kB / 385.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.505, allocations: 130.6 kB / 386 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.5055, allocations: 120.1 kB / 386.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.845e-05/0.5057, allocations: 11.34 kB / 386.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0361/0.5418, allocations: 9.331 MB / 395.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.5421, allocations: 68.67 kB / 395.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.5425, allocations: 102.2 kB / 395.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.5582, allocations: 4.707 MB / 400.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5583, allocations: 0 / 400.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5583, allocations: 0 / 400.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.5583, allocations: 3.938 kB / 400.3 MB, free: 1.375 MB / 302.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.004079/0.5624, allocations: 1.116 MB / 401.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5625, allocations: 8.031 kB / 401.4 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.5626, allocations: 57.67 kB / 401.5 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.5628, allocations: 20.75 kB / 401.5 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.563, allocations: 223.3 kB / 401.7 MB, free: 148 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.5631, allocations: 12.33 kB / 401.7 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.5631, allocations: 16 kB / 401.8 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008101/0.5639, allocations: 282.6 kB / 402 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.564, allocations: 3.938 kB / 402 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.564, allocations: 8 kB / 402 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.5641, allocations: 12 kB / 402.1 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.5655, allocations: 307.8 kB / 402.4 MB, free: 15.51 MB / 318.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.002476/0.568, allocations: 0.8269 MB / 403.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.5693, allocations: 253.1 kB / 403.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.5699, allocations: 130.7 kB / 403.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02765/0.5976, allocations: 12.85 MB / 416.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.5977, allocations: 38.55 kB / 416.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 4.379e-06/0.5977, allocations: 0 / 416.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.005562/0.6033, allocations: 0.6933 MB / 417.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.6034, allocations: 89.09 kB / 417.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.6036, allocations: 121.8 kB / 417.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.6037, allocations: 33.7 kB / 417.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6038, allocations: 108.8 kB / 417.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.604, allocations: 124.9 kB / 417.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.6042, allocations: 65.69 kB / 417.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6044, allocations: 330.8 kB / 418 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.6052, allocations: 139.8 kB / 418.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/0.6061, allocations: 215.5 kB / 418.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.6079, allocations: 357.8 kB / 418.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6079, allocations: 3.938 kB / 418.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001953/0.6099, allocations: 417.1 kB / 419.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.6099, allocations: 10.81 kB / 419.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6099, allocations: 224 / 419.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.61, allocations: 8 kB / 419.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.6107, allocations: 91.88 kB / 419.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.6107, allocations: 5.578 kB / 419.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.6112, allocations: 31.81 kB / 419.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.115e-05/0.6113, allocations: 23.94 kB / 419.3 MB, free: 11.89 MB / 334.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.0002433/0.6115, allocations: 137.8 kB / 419.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.6118, allocations: 23.81 kB / 419.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.6125, allocations: 190 kB / 419.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.6126, allocations: 8 kB / 419.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.6126, allocations: 3.938 kB / 419.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.6126, allocations: 7.984 kB / 419.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.6148, allocations: 0.7571 MB / 420.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.6149, allocations: 3.938 kB / 420.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.6153, allocations: 81.55 kB / 420.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.6153, allocations: 4 kB / 420.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.6154, allocations: 11.98 kB / 420.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6154, allocations: 4 kB / 420.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6154, allocations: 4 kB / 420.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.617, allocations: 0.709 MB / 421.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.6172, allocations: 116.9 kB / 421.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.6173, allocations: 8 kB / 421.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.6177, allocations: 27.95 kB / 421.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.6177, allocations: 27.91 kB / 421.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.6178, allocations: 20.06 kB / 421.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.6179, allocations: 95.25 kB / 421.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6179, allocations: 4 kB / 421.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005296/0.6232, allocations: 0.9331 MB / 422.4 MB, free: 8.594 MB / 334.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.01173/0.6349, allocations: 2.395 MB / 424.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.6364, allocations: 369.6 kB / 425.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6364, allocations: 4 kB / 425.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.6369, allocations: 171.8 kB / 425.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.6378, allocations: 96.91 kB / 425.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009526/0.6474, allocations: 3.133 MB / 428.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.6479, allocations: 0.7408 MB / 429.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.6484, allocations: 86.03 kB / 429.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6486, allocations: 71.34 kB / 429.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6486, allocations: 3.938 kB / 429.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07736/0.726, allocations: 32.5 MB / 462 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.61, allocations: 7.438 kB / 462 MB, free: 0.9922 MB / 366.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