Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001683/0.001684, allocations: 113.5 kB / 16.41 MB, free: 6.488 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.001955/0.001955, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.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.002369/0.002369, allocations: 67.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1134, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4674/0.5809, allocations: 196.4 MB / 0.6792 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.5974, allocations: 10.29 MB / 0.6893 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.5986, allocations: 19.88 kB / 0.6893 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.6002, allocations: 437.5 kB / 0.6897 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008223/0.6085, allocations: 2.59 MB / 0.6922 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007925/0.6164, allocations: 2.647 MB / 0.6948 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003192/0.6196, allocations: 2.193 MB / 0.697 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.6207, allocations: 0.591 MB / 0.6976 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.6253, allocations: 1.958 MB / 0.6995 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.6271, allocations: 0.8605 MB / 0.7003 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.6274, allocations: 96 kB / 0.7004 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.6384, allocations: 5.74 MB / 0.706 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000761/0.6392, allocations: 422.9 kB / 0.7064 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009222/0.6401, allocations: 0.5407 MB / 0.7069 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.6502, allocations: 4.082 MB / 0.7109 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6502, allocations: 0 / 0.7109 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6502, allocations: 0 / 0.7109 GB, free: 5.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.6502, allocations: 0 / 0.7109 GB, free: 5.77 MB / 0.545 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.004592/0.6548, allocations: 1.854 MB / 0.7127 GB, free: 3.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.6549, allocations: 11.89 kB / 0.7127 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.6552, allocations: 122.5 kB / 0.7129 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.6558, allocations: 123.3 kB / 0.713 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6569, allocations: 0.6252 MB / 0.7136 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.6571, allocations: 117.4 kB / 0.7137 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6572, allocations: 75.94 kB / 0.7138 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.6592, allocations: 1.17 MB / 0.7149 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6592, allocations: 0 / 0.7149 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.6593, allocations: 28 kB / 0.7149 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.149e-05/0.6594, allocations: 69.89 kB / 0.715 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.6613, allocations: 1.167 MB / 0.7161 GB, free: 260 kB / 0.545 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.007252/0.6686, allocations: 5.007 MB / 0.721 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.6704, allocations: 0.834 MB / 0.7219 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/0.6711, allocations: 418.3 kB / 0.7223 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.6729, allocations: 1.892 MB / 0.7241 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.673, allocations: 47.12 kB / 0.7241 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.673, allocations: 0 / 0.7241 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01413/0.6871, allocations: 4.03 MB / 0.7281 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.6873, allocations: 115.5 kB / 0.7282 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.6882, allocations: 0.6642 MB / 0.7288 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6883, allocations: 45.7 kB / 0.7289 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6886, allocations: 388.5 kB / 0.7293 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.6889, allocations: 305.4 kB / 0.7295 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.6893, allocations: 206.5 kB / 0.7297 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002799/0.6896, allocations: 390.8 kB / 0.7301 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.6906, allocations: 497.7 kB / 0.7306 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.692, allocations: 0.7532 MB / 0.7313 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.6946, allocations: 1.281 MB / 0.7326 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6946, allocations: 4 kB / 0.7326 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003819/0.6984, allocations: 1.693 MB / 0.7342 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6985, allocations: 12.06 kB / 0.7342 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.6985, allocations: 12 kB / 0.7343 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007356/0.7059, allocations: 1.327 MB / 0.7355 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.7067, allocations: 159.7 kB / 0.7357 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.7097, allocations: 1.537 MB / 0.7372 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/0.7106, allocations: 56.02 kB / 0.7373 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.7107, allocations: 67.84 kB / 0.7373 GB, free: 9.445 MB / 0.5762 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.0005562/0.7113, allocations: 293.5 kB / 0.7376 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.7115, allocations: 91.42 kB / 0.7377 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.7151, allocations: 1.631 MB / 0.7393 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.7151, allocations: 12 kB / 0.7393 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.7152, allocations: 3.938 kB / 0.7393 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.7152, allocations: 7.969 kB / 0.7393 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.7201, allocations: 2.547 MB / 0.7418 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7201, allocations: 0 / 0.7418 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.7214, allocations: 267.8 kB / 0.742 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.7233, allocations: 372.4 kB / 0.7424 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/0.7234, allocations: 31.97 kB / 0.7424 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.7261, allocations: 2.351 MB / 0.7447 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.7262, allocations: 11.97 kB / 0.7447 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.7302, allocations: 2.023 MB / 0.7467 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.7308, allocations: 296.4 kB / 0.747 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.731, allocations: 20 kB / 0.747 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/0.7318, allocations: 59.95 kB / 0.7471 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.7319, allocations: 64.92 kB / 0.7471 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.7321, allocations: 55.97 kB / 0.7472 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007052/0.7328, allocations: 0.4951 MB / 0.7477 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7328, allocations: 0 / 0.7477 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001956/0.7347, allocations: 0.7207 MB / 0.7484 GB, free: 13.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.006499/0.7413, allocations: 3.371 MB / 0.7517 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002863/0.7441, allocations: 1.248 MB / 0.7529 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.7442, allocations: 0 / 0.7529 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.746, allocations: 0.7173 MB / 0.7536 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.7485, allocations: 0.5203 MB / 0.7541 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2107/0.9593, allocations: 9.721 MB / 0.7636 GB, free: 223.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.9598, allocations: 1.043 MB / 0.7646 GB, free: 223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001019/0.9608, allocations: 308 kB / 0.7649 GB, free: 223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.9613, allocations: 343.2 kB / 0.7652 GB, free: 223 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.9613, allocations: 3.828 kB / 0.7652 GB, free: 223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07997/1.041, allocations: 45.52 MB / 0.8097 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.84, allocations: 11.92 kB / 0.8097 GB, free: 197.4 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches