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.001031/0.001031, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001013/0.001013, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.294/1.294, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1957/0.1957, allocations: 43.52 MB / 314.1 MB, free: 448 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.001338/0.001338, allocations: 67.89 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4378/0.5451, allocations: 196.4 MB / 0.6792 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.5585, allocations: 10.29 MB / 0.6893 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.5592, allocations: 19.88 kB / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.5605, allocations: 449.5 kB / 0.6897 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.567, allocations: 2.607 MB / 0.6923 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006799/0.5739, allocations: 2.662 MB / 0.6949 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.577, allocations: 2.189 MB / 0.697 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.5782, allocations: 0.5973 MB / 0.6976 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.5834, allocations: 1.974 MB / 0.6995 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.5851, allocations: 0.8644 MB / 0.7004 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.5854, allocations: 92 kB / 0.7005 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.5969, allocations: 5.744 MB / 0.7061 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.5978, allocations: 423 kB / 0.7065 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.5995, allocations: 0.5329 MB / 0.707 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.6102, allocations: 4.086 MB / 0.711 GB, free: 5.676 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6102, allocations: 0 / 0.711 GB, free: 5.676 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6102, allocations: 0 / 0.711 GB, free: 5.676 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.933e-05/0.6103, allocations: 0 / 0.711 GB, free: 5.676 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.005248/0.6155, allocations: 1.854 MB / 0.7128 GB, free: 3.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6156, allocations: 15.89 kB / 0.7128 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/0.6159, allocations: 130.5 kB / 0.7129 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.6164, allocations: 115.3 kB / 0.713 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.6177, allocations: 0.6253 MB / 0.7137 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.6178, allocations: 121.4 kB / 0.7138 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.618, allocations: 67.95 kB / 0.7138 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.62, allocations: 1.17 MB / 0.715 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.62, allocations: 0 / 0.715 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6201, allocations: 35.98 kB / 0.715 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/0.6202, allocations: 63.53 kB / 0.7151 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.6222, allocations: 1.171 MB / 0.7162 GB, free: 156 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.007173/0.6294, allocations: 4.998 MB / 0.7211 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.6311, allocations: 0.8302 MB / 0.7219 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.6318, allocations: 430.3 kB / 0.7223 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.6333, allocations: 1.884 MB / 0.7242 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.906e-05/0.6334, allocations: 51.05 kB / 0.7242 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.805e-06/0.6334, allocations: 0 / 0.7242 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01372/0.6472, allocations: 4.03 MB / 0.7281 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.6473, allocations: 111.5 kB / 0.7283 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/0.6482, allocations: 0.6642 MB / 0.7289 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.6484, allocations: 45.7 kB / 0.7289 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.6487, allocations: 388.5 kB / 0.7293 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.649, allocations: 309.4 kB / 0.7296 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.6494, allocations: 202.5 kB / 0.7298 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6496, allocations: 390.8 kB / 0.7302 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.6506, allocations: 497.7 kB / 0.7307 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.652, allocations: 0.7532 MB / 0.7314 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.6543, allocations: 1.286 MB / 0.7326 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.6544, allocations: 0 / 0.7326 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003585/0.658, allocations: 1.7 MB / 0.7343 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.658, allocations: 10.88 kB / 0.7343 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.658, allocations: 12 kB / 0.7343 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007308/0.6653, allocations: 1.32 MB / 0.7356 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.6661, allocations: 159.7 kB / 0.7358 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.6688, allocations: 1.541 MB / 0.7373 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.6698, allocations: 56 kB / 0.7373 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.67, allocations: 63.92 kB / 0.7374 GB, free: 9.355 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.0006939/0.6707, allocations: 293.5 kB / 0.7377 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.671, allocations: 87.48 kB / 0.7377 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.6746, allocations: 1.643 MB / 0.7394 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.6746, allocations: 16 kB / 0.7394 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6747, allocations: 3.938 kB / 0.7394 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6747, allocations: 3.984 kB / 0.7394 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.6795, allocations: 2.544 MB / 0.7419 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.6795, allocations: 7.938 kB / 0.7419 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.6809, allocations: 263.8 kB / 0.7421 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.6826, allocations: 372.4 kB / 0.7425 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.6828, allocations: 27.98 kB / 0.7425 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.6854, allocations: 2.367 MB / 0.7448 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6854, allocations: 0.625 kB / 0.7448 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.6895, allocations: 2.023 MB / 0.7468 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.6902, allocations: 292.4 kB / 0.7471 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.6904, allocations: 27.98 kB / 0.7471 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.6913, allocations: 55.95 kB / 0.7471 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.6914, allocations: 60.92 kB / 0.7472 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.6915, allocations: 51.95 kB / 0.7473 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006733/0.6922, allocations: 0.5029 MB / 0.7477 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6922, allocations: 0 / 0.7477 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002096/0.6943, allocations: 0.7129 MB / 0.7484 GB, free: 13.7 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.006753/0.7011, allocations: 3.373 MB / 0.7517 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.7041, allocations: 1.244 MB / 0.753 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.7041, allocations: 3.938 kB / 0.753 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.706, allocations: 0.7173 MB / 0.7537 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.7089, allocations: 0.511 MB / 0.7542 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2285/0.9374, allocations: 9.734 MB / 0.7637 GB, free: 224 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.938, allocations: 1.045 MB / 0.7647 GB, free: 223.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001103/0.9391, allocations: 306.5 kB / 0.765 GB, free: 223.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.9397, allocations: 342.5 kB / 0.7653 GB, free: 223.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.71e-07/0.9397, allocations: 0 / 0.7653 GB, free: 223.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07343/1.013, allocations: 45.52 MB / 0.8098 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.13, allocations: 15.94 kB / 0.8098 GB, free: 197.8 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