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.001434/0.001434, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001339/0.001339, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 2.882/2.882, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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.001874/0.001874, allocations: 66.55 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2845, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1562/0.4407, allocations: 138.8 MB / 1.463 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009635/0.4504, allocations: 8.037 MB / 1.471 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.4504, allocations: 0 / 1.471 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.4506, allocations: 27.81 kB / 1.471 GB, free: 13.99 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.4507, allocations: 23.84 kB / 1.471 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.4542, allocations: 1.477 MB / 1.472 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.4543, allocations: 75.66 kB / 1.472 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.4544, allocations: 8 kB / 1.472 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4545, allocations: 47.77 kB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.4546, allocations: 35.89 kB / 1.472 GB, free: 12.33 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.4546, allocations: 4 kB / 1.472 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.4589, allocations: 2.712 MB / 1.475 GB, free: 9.609 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.4589, allocations: 15.92 kB / 1.475 GB, free: 9.594 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.459, allocations: 31.86 kB / 1.475 GB, free: 9.562 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.4608, allocations: 1.388 MB / 1.476 GB, free: 8.172 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4608, allocations: 3.938 kB / 1.476 GB, free: 8.168 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4608, allocations: 4 kB / 1.476 GB, free: 8.164 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.4608, allocations: 0 / 1.476 GB, free: 8.164 MB / 1.17 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.0009815/0.4617, allocations: 438.7 kB / 1.477 GB, free: 7.707 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4618, allocations: 12.03 kB / 1.477 GB, free: 7.695 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.4621, allocations: 24.86 kB / 1.477 GB, free: 7.672 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4622, allocations: 114.4 kB / 1.477 GB, free: 7.535 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.4623, allocations: 59.97 kB / 1.477 GB, free: 7.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.4623, allocations: 7.938 kB / 1.477 GB, free: 7.457 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.4627, allocations: 125.6 kB / 1.477 GB, free: 7.328 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.4627, allocations: 3.938 kB / 1.477 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.4627, allocations: 0 / 1.477 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4627, allocations: 4 kB / 1.477 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.463, allocations: 119.9 kB / 1.477 GB, free: 7.203 MB / 1.17 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.0004811/0.4635, allocations: 351.2 kB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4637, allocations: 118.6 kB / 1.478 GB, free: 6.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.4638, allocations: 40.84 kB / 1.478 GB, free: 6.637 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.4746, allocations: 3.032 MB / 1.481 GB, free: 3.602 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.4746, allocations: 34.56 kB / 1.481 GB, free: 3.559 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.4746, allocations: 0 / 1.481 GB, free: 3.559 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.000531/0.4751, allocations: 171.1 kB / 1.481 GB, free: 3.387 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4752, allocations: 59.41 kB / 1.481 GB, free: 3.316 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.4753, allocations: 101.8 kB / 1.481 GB, free: 3.207 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4753, allocations: 25.7 kB / 1.481 GB, free: 3.176 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.4753, allocations: 84.14 kB / 1.481 GB, free: 3.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.4754, allocations: 47.58 kB / 1.481 GB, free: 3.043 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.4754, allocations: 29.7 kB / 1.481 GB, free: 3.008 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4756, allocations: 314.8 kB / 1.481 GB, free: 2.691 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.4756, allocations: 27.98 kB / 1.481 GB, free: 2.664 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.4757, allocations: 27.98 kB / 1.481 GB, free: 2.637 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.4758, allocations: 75.22 kB / 1.482 GB, free: 2.562 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4758, allocations: 0 / 1.482 GB, free: 2.562 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001798/0.476, allocations: 109.6 kB / 1.482 GB, free: 2.449 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.476, allocations: 6.188 kB / 1.482 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.476, allocations: 0 / 1.482 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.476, allocations: 4 kB / 1.482 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4761, allocations: 23.98 kB / 1.482 GB, free: 2.418 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4761, allocations: 3.938 kB / 1.482 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.4762, allocations: 7.891 kB / 1.482 GB, free: 2.406 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4762, allocations: 8 kB / 1.482 GB, free: 2.398 MB / 1.17 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.351e-05/0.4763, allocations: 126.3 kB / 1.482 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.4763, allocations: 8 kB / 1.482 GB, free: 2.258 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.4768, allocations: 380 kB / 1.482 GB, free: 1.879 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4768, allocations: 3.984 kB / 1.482 GB, free: 1.875 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4768, allocations: 0 / 1.482 GB, free: 1.875 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4768, allocations: 7.938 kB / 1.482 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.4771, allocations: 256.5 kB / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4771, allocations: 0 / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.4772, allocations: 27.92 kB / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4772, allocations: 0 / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4772, allocations: 11.98 kB / 1.482 GB, free: 1.535 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4772, allocations: 3.984 kB / 1.482 GB, free: 1.531 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4772, allocations: 0 / 1.482 GB, free: 1.531 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.4776, allocations: 331 kB / 1.483 GB, free: 1.191 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.4777, allocations: 31.81 kB / 1.483 GB, free: 1.16 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.4777, allocations: 0 / 1.483 GB, free: 1.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.4778, allocations: 12 kB / 1.483 GB, free: 1.148 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.4779, allocations: 7.984 kB / 1.483 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4779, allocations: 11.92 kB / 1.483 GB, free: 1.129 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.4779, allocations: 83.28 kB / 1.483 GB, free: 1.047 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.4779, allocations: 0 / 1.483 GB, free: 1.047 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008359/0.4788, allocations: 303.6 kB / 1.483 GB, free: 0.75 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001144/0.4799, allocations: 413.1 kB / 1.484 GB, free: 348 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.4801, allocations: 120 kB / 1.484 GB, free: 228 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4801, allocations: 4 kB / 1.484 GB, free: 224 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4802, allocations: 95.89 kB / 1.484 GB, free: 128 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.4805, allocations: 8 kB / 1.484 GB, free: 120 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.4811, allocations: 350.4 kB / 1.484 GB, free: 15.74 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.4814, allocations: 0.7166 MB / 1.485 GB, free: 15 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.4815, allocations: 23.42 kB / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.4815, allocations: 0 / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of Templates: time 0.01051/0.492, allocations: 6.862 MB / 1.492 GB, free: 8.102 MB / 1.186 GB " [Timeout remaining time 300] 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: 10.715130972006591]