Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_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.001215/0.001215, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001423/0.001422, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 72.59 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3859/0.5045, allocations: 150.9 MB / 0.6058 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.5071, allocations: 1.323 MB / 0.6071 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.5072, allocations: 4 kB / 0.6071 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.5076, allocations: 35.86 kB / 0.6071 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.5114, allocations: 1.023 MB / 0.6081 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.02e-05/0.5115, allocations: 4 kB / 0.6081 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.5116, allocations: 51.72 kB / 0.6081 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.5117, allocations: 0 / 0.6081 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.5117, allocations: 15.98 kB / 0.6082 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.5118, allocations: 31.84 kB / 0.6082 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.5118, allocations: 0 / 0.6082 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.5153, allocations: 1.754 MB / 0.6099 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.5154, allocations: 11.92 kB / 0.6099 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.5154, allocations: 15.94 kB / 0.6099 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.5175, allocations: 0.8849 MB / 0.6108 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5175, allocations: 0 / 0.6108 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5175, allocations: 0 / 0.6108 GB, free: 4.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.5175, allocations: 0 / 0.6108 GB, free: 4.508 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008557/0.5184, allocations: 494.1 kB / 0.6113 GB, free: 3.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5184, allocations: 8.031 kB / 0.6113 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.5185, allocations: 38.48 kB / 0.6113 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.5185, allocations: 13.62 kB / 0.6113 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.5186, allocations: 171.6 kB / 0.6115 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.5186, allocations: 8 kB / 0.6115 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.5187, allocations: 0 / 0.6115 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.5188, allocations: 73.67 kB / 0.6116 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5188, allocations: 0 / 0.6116 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.5188, allocations: 0 / 0.6116 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5189, allocations: 7.984 kB / 0.6116 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.519, allocations: 47.97 kB / 0.6116 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.5194, allocations: 308.7 kB / 0.6119 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.738e-05/0.5195, allocations: 30.56 kB / 0.6119 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.5195, allocations: 16.86 kB / 0.612 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.5198, allocations: 255.4 kB / 0.6122 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.5198, allocations: 38.5 kB / 0.6122 GB, free: 2.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5198, allocations: 7.938 kB / 0.6122 GB, free: 2.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001804/0.52, allocations: 53.69 kB / 0.6123 GB, free: 2.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.52, allocations: 51.41 kB / 0.6123 GB, free: 2.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.5201, allocations: 106 kB / 0.6124 GB, free: 2.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.5201, allocations: 29.64 kB / 0.6125 GB, free: 2.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.5202, allocations: 91.89 kB / 0.6126 GB, free: 2.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.5202, allocations: 19.75 kB / 0.6126 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.5203, allocations: 21.7 kB / 0.6126 GB, free: 2.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.5203, allocations: 318.8 kB / 0.6129 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.5204, allocations: 8 kB / 0.6129 GB, free: 2.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-05/0.5204, allocations: 31.42 kB / 0.6129 GB, free: 2.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.534e-05/0.5205, allocations: 51.73 kB / 0.613 GB, free: 1.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5205, allocations: 4 kB / 0.613 GB, free: 1.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001267/0.5206, allocations: 69.61 kB / 0.6131 GB, free: 1.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5207, allocations: 11.94 kB / 0.6131 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5207, allocations: 7.969 kB / 0.6131 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5207, allocations: 0 / 0.6131 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.5208, allocations: 16 kB / 0.6131 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5208, allocations: 0 / 0.6131 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.5208, allocations: 7.906 kB / 0.6131 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.5209, allocations: 4.859 kB / 0.6131 GB, free: 1.832 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 7.145e-05/0.5209, allocations: 121.9 kB / 0.6132 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.521, allocations: 7.938 kB / 0.6132 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.5211, allocations: 63.64 kB / 0.6133 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5211, allocations: 0 / 0.6133 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5211, allocations: 7.984 kB / 0.6133 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5212, allocations: 0 / 0.6133 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.5213, allocations: 161.7 kB / 0.6135 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5213, allocations: 0 / 0.6135 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.5214, allocations: 4.688 kB / 0.6135 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5214, allocations: 7.938 kB / 0.6135 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.5214, allocations: 0 / 0.6135 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5214, allocations: 0 / 0.6135 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5214, allocations: 0 / 0.6135 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.5215, allocations: 155.4 kB / 0.6136 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.5216, allocations: 92.8 kB / 0.6137 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.5216, allocations: 0 / 0.6137 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.5216, allocations: 8 kB / 0.6137 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.5216, allocations: 0 / 0.6137 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.5217, allocations: 4 kB / 0.6137 GB, free: 1.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.5217, allocations: 83.2 kB / 0.6138 GB, free: 1.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5217, allocations: 0 / 0.6138 GB, free: 1.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.5222, allocations: 131.9 kB / 0.6139 GB, free: 0.9102 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.001159/0.5234, allocations: 0.9087 MB / 0.6148 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.5235, allocations: 35.81 kB / 0.6148 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5235, allocations: 0 / 0.6148 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.5235, allocations: 8.188 kB / 0.6148 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5238, allocations: 12 kB / 0.6149 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.5244, allocations: 234.5 kB / 0.6151 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.5247, allocations: 0.6807 MB / 0.6157 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.5248, allocations: 16.14 kB / 0.6158 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.5248, allocations: 19.42 kB / 0.6158 GB, free: 14.92 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5248, allocations: 0 / 0.6158 GB, free: 14.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.548, allocations: 4.467 MB / 0.6201 GB, free: 10.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/8.049, allocations: 16.3 kB / 0.6202 GB, free: 10.5 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches