Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 217.7 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.23 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 176.1 MB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1499/0.4537, allocations: 119.1 MB / 1.443 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009295/0.463, allocations: 7.236 MB / 1.45 GB, free: 2.211 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.4631, allocations: 0 / 1.45 GB, free: 2.211 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.4632, allocations: 19.84 kB / 1.45 GB, free: 2.191 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.4633, allocations: 23.84 kB / 1.451 GB, free: 2.168 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.4669, allocations: 1.457 MB / 1.452 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.467, allocations: 79.58 kB / 1.452 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.467, allocations: 7.984 kB / 1.452 GB, free: 0.625 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.4671, allocations: 39.86 kB / 1.452 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.4672, allocations: 35.89 kB / 1.452 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.4672, allocations: 8 kB / 1.452 GB, free: 0.543 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.4717, allocations: 2.684 MB / 1.455 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.4717, allocations: 15.92 kB / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.4717, allocations: 31.91 kB / 1.455 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.4736, allocations: 1.388 MB / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4736, allocations: 0 / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4736, allocations: 3.938 kB / 1.456 GB, free: 12.41 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4736, allocations: 0 / 1.456 GB, free: 12.41 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009444/0.4746, allocations: 433.2 kB / 1.457 GB, free: 11.96 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4746, allocations: 12.03 kB / 1.457 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.475, allocations: 24.86 kB / 1.457 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4751, allocations: 110.5 kB / 1.457 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.4752, allocations: 59.97 kB / 1.457 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4752, allocations: 7.938 kB / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.4756, allocations: 149.8 kB / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4756, allocations: 0 / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4757, allocations: 7.938 kB / 1.457 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4757, allocations: 0 / 1.457 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.476, allocations: 119.9 kB / 1.457 GB, free: 11.43 MB / 1.154 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.0004594/0.4764, allocations: 268.3 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.4767, allocations: 114.6 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.4768, allocations: 53.78 kB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.4888, allocations: 3.036 MB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4889, allocations: 42.55 kB / 1.46 GB, free: 7.875 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.4889, allocations: 0 / 1.46 GB, free: 7.875 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0005585/0.4894, allocations: 167.8 kB / 1.461 GB, free: 7.707 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4895, allocations: 55.41 kB / 1.461 GB, free: 7.641 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.4895, allocations: 97.86 kB / 1.461 GB, free: 7.535 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.4896, allocations: 29.7 kB / 1.461 GB, free: 7.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.4896, allocations: 88.12 kB / 1.461 GB, free: 7.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.4897, allocations: 47.56 kB / 1.461 GB, free: 7.363 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.4897, allocations: 25.72 kB / 1.461 GB, free: 7.332 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4899, allocations: 326.8 kB / 1.461 GB, free: 7.004 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.4899, allocations: 27.92 kB / 1.461 GB, free: 6.977 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.295e-05/0.49, allocations: 27.98 kB / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4901, allocations: 68.86 kB / 1.461 GB, free: 6.879 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4901, allocations: 0 / 1.461 GB, free: 6.879 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002008/0.4903, allocations: 112.4 kB / 1.461 GB, free: 6.766 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4903, allocations: 12 kB / 1.461 GB, free: 6.754 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4903, allocations: 0 / 1.461 GB, free: 6.754 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.4903, allocations: 3.984 kB / 1.461 GB, free: 6.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4905, allocations: 19.94 kB / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4905, allocations: 3.984 kB / 1.461 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.4906, allocations: 11.95 kB / 1.461 GB, free: 6.715 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.4906, allocations: 4 kB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 9.558e-05/0.4907, allocations: 114.3 kB / 1.462 GB, free: 6.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.4907, allocations: 4 kB / 1.462 GB, free: 6.586 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.4912, allocations: 392 kB / 1.462 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4912, allocations: 4 kB / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4912, allocations: 0 / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.4913, allocations: 27.8 kB / 1.462 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.4913, allocations: 7.938 kB / 1.462 GB, free: 6.156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4915, allocations: 4 kB / 1.462 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.4915, allocations: 15.97 kB / 1.462 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003756/0.4919, allocations: 312.7 kB / 1.462 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003958/0.4923, allocations: 410.3 kB / 1.463 GB, free: 5.406 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001122/0.4924, allocations: 75.97 kB / 1.463 GB, free: 5.332 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.4924, allocations: 91.2 kB / 1.463 GB, free: 5.242 MB / 1.154 GB Notification: Performance of Backend: time 2.6e-07/0.4924, allocations: 7.938 kB / 1.463 GB, free: 5.234 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.4944, allocations: 0.5018 MB / 1.463 GB, free: 4.727 MB / 1.154 GB Notification: Performance of SimCode: time 0.0006304/0.495, allocations: 0.6838 MB / 1.464 GB, free: 3.992 MB / 1.154 GB Notification: Performance of Templates: time 0.01822/0.5132, allocations: 12.07 MB / 1.476 GB, free: 7.922 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.190608680997684]