Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_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.001917/0.001917, allocations: 102.9 kB / 17.58 MB, free: 5.414 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.003289/0.003289, allocations: 191.9 kB / 18.51 MB, free: 4.496 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.665/2.665, 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.002565/0.002565, allocations: 51.92 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1673, allocations: 46.63 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0666/0.234, allocations: 26.59 MB / 354 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.2402, allocations: 2.231 MB / 356.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2405, allocations: 0 / 356.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.2412, allocations: 59.64 kB / 356.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.242, allocations: 167.1 kB / 356.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03088/0.2729, allocations: 6.147 MB / 362.6 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008247/0.2738, allocations: 318.6 kB / 362.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2739, allocations: 16.89 kB / 362.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.2744, allocations: 131.5 kB / 363 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.2749, allocations: 115.6 kB / 363.1 MB, free: 500 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.275, allocations: 12 kB / 363.1 MB, free: 488 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0343/0.3093, allocations: 9.23 MB / 372.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.3098, allocations: 75.77 kB / 372.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.3103, allocations: 87.66 kB / 372.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/0.3338, allocations: 4.683 MB / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3339, allocations: 0 / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3339, allocations: 0 / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3339, allocations: 0 / 377.2 MB, free: 2.383 MB / 318.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.006443/0.3404, allocations: 1.108 MB / 378.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.199e-05/0.3405, allocations: 16.03 kB / 378.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.3406, allocations: 50.73 kB / 378.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.3409, allocations: 20.41 kB / 378.4 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.3414, allocations: 218.7 kB / 378.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3414, allocations: 16.33 kB / 378.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.3415, allocations: 16 kB / 378.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.3429, allocations: 285.4 kB / 378.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.343, allocations: 8 kB / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.3431, allocations: 4 kB / 378.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.3431, allocations: 4 kB / 379 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.3447, allocations: 315.6 kB / 379.3 MB, free: 240 kB / 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.3313/0.6761, allocations: 0.8202 MB / 380.1 MB, free: 52.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.6775, allocations: 248.8 kB / 380.3 MB, free: 52.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.6781, allocations: 134.7 kB / 380.5 MB, free: 52.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02503/0.7031, allocations: 12.84 MB / 393.3 MB, free: 39.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.7032, allocations: 38.78 kB / 393.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 5.791e-06/0.7032, allocations: 2.938 kB / 393.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.005359/0.7086, allocations: 0.6849 MB / 394 MB, free: 39.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.7087, allocations: 82.34 kB / 394.1 MB, free: 39.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7089, allocations: 129.2 kB / 394.2 MB, free: 39.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.7089, allocations: 34.8 kB / 394.3 MB, free: 39.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.709, allocations: 109 kB / 394.4 MB, free: 39.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.7092, allocations: 131.2 kB / 394.5 MB, free: 39.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.7094, allocations: 70.38 kB / 394.6 MB, free: 39.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.7095, allocations: 331.4 kB / 394.9 MB, free: 38.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.7103, allocations: 133.6 kB / 395 MB, free: 38.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.7112, allocations: 207.6 kB / 395.2 MB, free: 38.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.713, allocations: 358.9 kB / 395.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7131, allocations: 1.062 kB / 395.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002328/0.7154, allocations: 421.9 kB / 396 MB, free: 38.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.7154, allocations: 8.031 kB / 396 MB, free: 38.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.7155, allocations: 2.859 kB / 396 MB, free: 38.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.7155, allocations: 7.375 kB / 396 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009177/0.7164, allocations: 93.98 kB / 396.1 MB, free: 38.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.7165, allocations: 8.156 kB / 396.1 MB, free: 38.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.7171, allocations: 25.23 kB / 396.1 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.7172, allocations: 20.75 kB / 396.1 MB, free: 38.27 MB / 318.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.000233/0.7174, allocations: 144.4 kB / 396.3 MB, free: 38.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.7177, allocations: 18.72 kB / 396.3 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.7187, allocations: 200.3 kB / 396.5 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.7187, allocations: 3.312 kB / 396.5 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.7187, allocations: 2.484 kB / 396.5 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.7187, allocations: 1.922 kB / 396.5 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.7219, allocations: 0.7586 MB / 397.3 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.7219, allocations: 3.078 kB / 397.3 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.7227, allocations: 80.27 kB / 397.4 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.7228, allocations: 3.344 kB / 397.4 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.7228, allocations: 11.62 kB / 397.4 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.7229, allocations: 7.125 kB / 397.4 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7229, allocations: 10.56 kB / 397.4 MB, free: 37.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.7257, allocations: 0.6992 MB / 398.1 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.7259, allocations: 123.1 kB / 398.2 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.726, allocations: 11.56 kB / 398.2 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.7267, allocations: 19.41 kB / 398.2 MB, free: 36.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.7268, allocations: 32.92 kB / 398.3 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.7269, allocations: 18.36 kB / 398.3 MB, free: 36.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.309e-05/0.727, allocations: 96.11 kB / 398.4 MB, free: 36.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.727, allocations: 0 / 398.4 MB, free: 36.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00503/0.732, allocations: 0.931 MB / 399.3 MB, free: 36.79 MB / 318.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.01174/0.7438, allocations: 2.416 MB / 401.7 MB, free: 35.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.7461, allocations: 372.4 kB / 402.1 MB, free: 35.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.7461, allocations: 0 / 402.1 MB, free: 35.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009044/0.747, allocations: 185.6 kB / 402.3 MB, free: 35.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.7485, allocations: 93.12 kB / 402.4 MB, free: 35.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.7591, allocations: 3.11 MB / 405.5 MB, free: 33.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.7594, allocations: 0.7288 MB / 406.2 MB, free: 32.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009341/0.7604, allocations: 89.72 kB / 406.3 MB, free: 32.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7607, allocations: 78.8 kB / 406.4 MB, free: 32.63 MB / 318.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7607, allocations: 0 / 406.4 MB, free: 32.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2144/0.9751, allocations: 33.92 MB / 440.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.16, allocations: 15.88 kB / 440.3 MB, free: 1.629 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches