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.001581/0.001581, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001934/0.001934, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.002059/0.002059, allocations: 64.41 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2958, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1504/0.4462, allocations: 119.1 MB / 1.443 GB, free: 9.445 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009422/0.4556, allocations: 7.247 MB / 1.45 GB, free: 2.172 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.4557, allocations: 0 / 1.45 GB, free: 2.172 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.4558, allocations: 15.86 kB / 1.45 GB, free: 2.156 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.4559, allocations: 19.84 kB / 1.45 GB, free: 2.137 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.4593, allocations: 1.456 MB / 1.452 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.4594, allocations: 79.64 kB / 1.452 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.4594, allocations: 11.98 kB / 1.452 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4595, allocations: 43.84 kB / 1.452 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.4596, allocations: 31.84 kB / 1.452 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4596, allocations: 4 kB / 1.452 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.4641, allocations: 2.692 MB / 1.455 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.4641, allocations: 19.91 kB / 1.455 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.4642, allocations: 23.92 kB / 1.455 GB, free: 13.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.4662, allocations: 1.391 MB / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4662, allocations: 0 / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4662, allocations: 0 / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4663, allocations: 4 kB / 1.456 GB, free: 12.38 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.0009904/0.4672, allocations: 429.2 kB / 1.457 GB, free: 11.93 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4673, allocations: 12.03 kB / 1.457 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.4677, allocations: 28.86 kB / 1.457 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4678, allocations: 114.5 kB / 1.457 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.4679, allocations: 55.97 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.4679, allocations: 15.92 kB / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.4683, allocations: 149.6 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4683, allocations: 0 / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4683, allocations: 8 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4683, allocations: 4 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.4686, allocations: 111.9 kB / 1.457 GB, free: 11.39 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.0004675/0.4691, allocations: 268.4 kB / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.4694, allocations: 118.5 kB / 1.457 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.4694, allocations: 44.84 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.4812, allocations: 3.04 MB / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.4812, allocations: 34.55 kB / 1.46 GB, free: 7.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4812, allocations: 4 kB / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0005176/0.4818, allocations: 168.5 kB / 1.461 GB, free: 7.668 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4818, allocations: 59.34 kB / 1.461 GB, free: 7.598 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.4819, allocations: 97.86 kB / 1.461 GB, free: 7.492 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.4819, allocations: 25.7 kB / 1.461 GB, free: 7.461 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.482, allocations: 84.12 kB / 1.461 GB, free: 7.375 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.482, allocations: 51.58 kB / 1.461 GB, free: 7.324 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.4821, allocations: 29.66 kB / 1.461 GB, free: 7.289 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4822, allocations: 322.7 kB / 1.461 GB, free: 6.965 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.4823, allocations: 27.98 kB / 1.461 GB, free: 6.938 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.4823, allocations: 27.98 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4824, allocations: 68.86 kB / 1.461 GB, free: 6.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4824, allocations: 0 / 1.461 GB, free: 6.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002019/0.4826, allocations: 106.5 kB / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4826, allocations: 4 kB / 1.461 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4827, allocations: 0 / 1.461 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4827, allocations: 7.984 kB / 1.461 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4828, allocations: 27.94 kB / 1.461 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4828, allocations: 0 / 1.461 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.4829, allocations: 7.938 kB / 1.461 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4829, allocations: 4 kB / 1.461 GB, free: 6.68 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.65e-05/0.483, allocations: 126.3 kB / 1.462 GB, free: 6.547 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.483, allocations: 4 kB / 1.462 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.4835, allocations: 388 kB / 1.462 GB, free: 6.156 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4836, allocations: 0 / 1.462 GB, free: 6.156 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4836, allocations: 3.984 kB / 1.462 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4836, allocations: 0 / 1.462 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.4838, allocations: 221 kB / 1.462 GB, free: 5.906 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4838, allocations: 0 / 1.462 GB, free: 5.906 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.4839, allocations: 23.98 kB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4839, allocations: 0 / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.484, allocations: 8 kB / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.484, allocations: 0 / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.484, allocations: 0 / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.4843, allocations: 343 kB / 1.463 GB, free: 5.523 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.4844, allocations: 23.81 kB / 1.463 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4844, allocations: 8.188 kB / 1.463 GB, free: 5.492 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4846, allocations: 4 kB / 1.463 GB, free: 5.488 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.4846, allocations: 15.95 kB / 1.463 GB, free: 5.473 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4846, allocations: 4 kB / 1.463 GB, free: 5.469 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.4846, allocations: 83.22 kB / 1.463 GB, free: 5.387 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.4846, allocations: 4 kB / 1.463 GB, free: 5.383 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000826/0.4855, allocations: 311.6 kB / 1.463 GB, free: 5.078 MB / 1.154 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.001284/0.4868, allocations: 399.8 kB / 1.463 GB, free: 4.68 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.487, allocations: 131.8 kB / 1.463 GB, free: 4.551 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.487, allocations: 0 / 1.463 GB, free: 4.551 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.4871, allocations: 87.91 kB / 1.464 GB, free: 4.465 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.4874, allocations: 23.98 kB / 1.464 GB, free: 4.441 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.488, allocations: 312.8 kB / 1.464 GB, free: 4.105 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.488, allocations: 106.4 kB / 1.464 GB, free: 3.984 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.4881, allocations: 28.34 kB / 1.464 GB, free: 3.957 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.4882, allocations: 19.42 kB / 1.464 GB, free: 3.938 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/0.4882, allocations: 4 kB / 1.464 GB, free: 3.934 MB / 1.154 GB Notification: Performance of Templates: time 0.01551/0.5037, allocations: 10.04 MB / 1.474 GB, free: 9.906 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 -s gbode -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.049690521991579]