Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 106.6 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 218.5 kB / 18.59 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 80.33 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4324/0.541, allocations: 194 MB / 0.6584 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.5512, allocations: 7.45 MB / 0.6656 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.5521, allocations: 19.88 kB / 0.6656 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.5535, allocations: 433.5 kB / 0.6661 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.56, allocations: 2.35 MB / 0.6684 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005855/0.5658, allocations: 2.315 MB / 0.6706 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.5688, allocations: 2.192 MB / 0.6728 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.5702, allocations: 0.6019 MB / 0.6733 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.5749, allocations: 1.826 MB / 0.6751 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5767, allocations: 0.8721 MB / 0.676 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003573/0.5771, allocations: 92 kB / 0.6761 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009852/0.5869, allocations: 5.191 MB / 0.6811 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007424/0.5877, allocations: 430.9 kB / 0.6815 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.5888, allocations: 0.5291 MB / 0.6821 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009495/0.5983, allocations: 3.816 MB / 0.6858 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5984, allocations: 4 kB / 0.6858 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5984, allocations: 4 kB / 0.6858 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.782e-05/0.5985, allocations: 0 / 0.6858 GB, free: 4.906 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005091/0.6036, allocations: 1.73 MB / 0.6875 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6036, allocations: 8.031 kB / 0.6875 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000287/0.6039, allocations: 134.5 kB / 0.6876 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.6045, allocations: 114.8 kB / 0.6877 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.6055, allocations: 0.5819 MB / 0.6883 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.6057, allocations: 117.4 kB / 0.6884 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.6059, allocations: 75.97 kB / 0.6885 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.6079, allocations: 1.158 MB / 0.6896 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.6079, allocations: 0 / 0.6896 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.6081, allocations: 35.98 kB / 0.6897 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.043e-05/0.6081, allocations: 65.91 kB / 0.6897 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.6102, allocations: 1.159 MB / 0.6908 GB, free: 15.56 MB / 0.5294 GB 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.006584/0.6168, allocations: 4.991 MB / 0.6957 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6185, allocations: 0.8185 MB / 0.6965 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.6191, allocations: 422.3 kB / 0.6969 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.6204, allocations: 1.626 MB / 0.6985 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.6204, allocations: 43.12 kB / 0.6986 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.845e-06/0.6204, allocations: 4 kB / 0.6986 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01422/0.6346, allocations: 4.001 MB / 0.7025 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.6347, allocations: 111.5 kB / 0.7026 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.6357, allocations: 0.6757 MB / 0.7032 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.6358, allocations: 41.7 kB / 0.7033 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.6361, allocations: 383.5 kB / 0.7036 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.6364, allocations: 287.9 kB / 0.7039 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.6368, allocations: 198.4 kB / 0.7041 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6369, allocations: 386.8 kB / 0.7045 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009812/0.6379, allocations: 497.7 kB / 0.7049 GB, free: 304 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2184/0.8563, allocations: 0.7505 MB / 0.7057 GB, free: 197 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.859, allocations: 1.282 MB / 0.7069 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.8591, allocations: 9.812 kB / 0.7069 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003895/0.863, allocations: 1.682 MB / 0.7086 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.863, allocations: 11.09 kB / 0.7086 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.8631, allocations: 7.938 kB / 0.7086 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007621/0.8707, allocations: 1.311 MB / 0.7099 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/0.8716, allocations: 156.5 kB / 0.71 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.8749, allocations: 1.528 MB / 0.7115 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.876, allocations: 56.03 kB / 0.7116 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.8762, allocations: 51.05 kB / 0.7116 GB, free: 195.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006057/0.8768, allocations: 296 kB / 0.7119 GB, free: 195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.8771, allocations: 89.09 kB / 0.712 GB, free: 195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/0.881, allocations: 1.68 MB / 0.7136 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.881, allocations: 10.19 kB / 0.7136 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.8811, allocations: 0 / 0.7136 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.8811, allocations: 4.875 kB / 0.7136 GB, free: 194.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/0.8865, allocations: 2.643 MB / 0.7162 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.8865, allocations: 1.594 kB / 0.7162 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.8879, allocations: 259.6 kB / 0.7165 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.8898, allocations: 368.8 kB / 0.7168 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.8899, allocations: 33.56 kB / 0.7169 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.8921, allocations: 2.358 MB / 0.7192 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8922, allocations: 5.344 kB / 0.7192 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.8965, allocations: 2.029 MB / 0.7211 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/0.8972, allocations: 288.1 kB / 0.7214 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/0.8975, allocations: 22.25 kB / 0.7214 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/0.8985, allocations: 50.66 kB / 0.7215 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.8987, allocations: 72.7 kB / 0.7216 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.8988, allocations: 47.64 kB / 0.7216 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007437/0.8996, allocations: 0.4948 MB / 0.7221 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8996, allocations: 0 / 0.7221 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002294/0.9019, allocations: 0.6837 MB / 0.7228 GB, free: 189.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.006162/0.9081, allocations: 3.298 MB / 0.726 GB, free: 188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.9113, allocations: 1.436 MB / 0.7274 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9113, allocations: 5.969 kB / 0.7274 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.9131, allocations: 0.7166 MB / 0.7281 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.9158, allocations: 0.521 MB / 0.7286 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.9308, allocations: 10.05 MB / 0.7384 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.9313, allocations: 1.046 MB / 0.7394 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001112/0.9324, allocations: 372.6 kB / 0.7398 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.9329, allocations: 331.3 kB / 0.7401 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.9329, allocations: 0 / 0.7401 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07198/1.005, allocations: 43.6 MB / 0.7827 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.62, allocations: 11.7 kB / 0.7827 GB, free: 135.5 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p