Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001455/0.001455, allocations: 110.2 kB / 19.69 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.001614/0.001614, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001853/0.001853, allocations: 66.72 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1475/0.4395, allocations: 138.8 MB / 1.49 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00905/0.4485, allocations: 8.053 MB / 1.498 GB, free: 4.543 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.4486, allocations: 0 / 1.498 GB, free: 4.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.4487, allocations: 27.83 kB / 1.498 GB, free: 4.516 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.4488, allocations: 15.84 kB / 1.498 GB, free: 4.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.452, allocations: 1.481 MB / 1.499 GB, free: 3.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.4521, allocations: 71.66 kB / 1.499 GB, free: 2.949 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.4522, allocations: 7.938 kB / 1.499 GB, free: 2.941 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4523, allocations: 47.83 kB / 1.499 GB, free: 2.895 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.4524, allocations: 31.84 kB / 1.499 GB, free: 2.863 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.4524, allocations: 0 / 1.499 GB, free: 2.863 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.4564, allocations: 2.723 MB / 1.502 GB, free: 140 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.4564, allocations: 19.91 kB / 1.502 GB, free: 120 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.4565, allocations: 27.88 kB / 1.502 GB, free: 92 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.4581, allocations: 1.392 MB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4581, allocations: 0 / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4581, allocations: 0 / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4581, allocations: 0 / 1.503 GB, free: 14.7 MB / 1.201 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.0008627/0.459, allocations: 437.2 kB / 1.504 GB, free: 14.24 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.459, allocations: 12.03 kB / 1.504 GB, free: 14.23 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.4593, allocations: 24.88 kB / 1.504 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.4594, allocations: 110.5 kB / 1.504 GB, free: 14.07 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.4595, allocations: 55.97 kB / 1.504 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4595, allocations: 11.94 kB / 1.504 GB, free: 13.99 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.4599, allocations: 121.5 kB / 1.504 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4599, allocations: 0 / 1.504 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4599, allocations: 8 kB / 1.504 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4599, allocations: 0 / 1.504 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.4602, allocations: 123.9 kB / 1.504 GB, free: 13.74 MB / 1.201 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.0004595/0.4606, allocations: 347.2 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.4609, allocations: 118.5 kB / 1.505 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.4609, allocations: 48.83 kB / 1.505 GB, free: 13.17 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.4714, allocations: 3.036 MB / 1.508 GB, free: 10.13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.4714, allocations: 30.56 kB / 1.508 GB, free: 10.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.4714, allocations: 0 / 1.508 GB, free: 10.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0004756/0.4719, allocations: 167.5 kB / 1.508 GB, free: 9.922 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.472, allocations: 51.41 kB / 1.508 GB, free: 9.859 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.472, allocations: 105.8 kB / 1.508 GB, free: 9.746 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4721, allocations: 29.7 kB / 1.508 GB, free: 9.711 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.4721, allocations: 80.14 kB / 1.508 GB, free: 9.629 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.4721, allocations: 55.56 kB / 1.508 GB, free: 9.574 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.4722, allocations: 33.66 kB / 1.508 GB, free: 9.535 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4723, allocations: 318.8 kB / 1.508 GB, free: 9.215 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.4724, allocations: 23.98 kB / 1.508 GB, free: 9.191 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.4724, allocations: 27.98 kB / 1.508 GB, free: 9.164 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4725, allocations: 72.34 kB / 1.508 GB, free: 9.094 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4725, allocations: 0 / 1.508 GB, free: 9.094 MB / 1.201 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001768/0.4727, allocations: 101.7 kB / 1.509 GB, free: 8.988 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4727, allocations: 12 kB / 1.509 GB, free: 8.977 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4727, allocations: 3.938 kB / 1.509 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4727, allocations: 0 / 1.509 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4728, allocations: 27.92 kB / 1.509 GB, free: 8.945 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4729, allocations: 4 kB / 1.509 GB, free: 8.941 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.4729, allocations: 11.89 kB / 1.509 GB, free: 8.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.4729, allocations: 4 kB / 1.509 GB, free: 8.926 MB / 1.201 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 8.697e-05/0.473, allocations: 110.5 kB / 1.509 GB, free: 8.809 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.473, allocations: 11.94 kB / 1.509 GB, free: 8.797 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.4735, allocations: 388.1 kB / 1.509 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.4735, allocations: 7.984 kB / 1.509 GB, free: 8.402 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4735, allocations: 0 / 1.509 GB, free: 8.402 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4735, allocations: 3.938 kB / 1.509 GB, free: 8.398 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.4738, allocations: 260.5 kB / 1.509 GB, free: 8.102 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4738, allocations: 3.938 kB / 1.509 GB, free: 8.098 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.4739, allocations: 19.98 kB / 1.509 GB, free: 8.078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4739, allocations: 4 kB / 1.509 GB, free: 8.074 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4739, allocations: 3.984 kB / 1.509 GB, free: 8.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4739, allocations: 0 / 1.509 GB, free: 8.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4739, allocations: 4 kB / 1.509 GB, free: 8.066 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.4743, allocations: 346.9 kB / 1.51 GB, free: 7.711 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.4743, allocations: 23.88 kB / 1.51 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.4743, allocations: 3.984 kB / 1.51 GB, free: 7.684 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4745, allocations: 8 kB / 1.51 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.4745, allocations: 3.984 kB / 1.51 GB, free: 7.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4745, allocations: 11.92 kB / 1.51 GB, free: 7.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.4745, allocations: 83.47 kB / 1.51 GB, free: 7.578 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4745, allocations: 0 / 1.51 GB, free: 7.578 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007279/0.4753, allocations: 307.6 kB / 1.51 GB, free: 7.277 MB / 1.201 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.001119/0.4764, allocations: 402.8 kB / 1.511 GB, free: 6.875 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.4766, allocations: 116 kB / 1.511 GB, free: 6.762 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4766, allocations: 4 kB / 1.511 GB, free: 6.758 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4767, allocations: 94 kB / 1.511 GB, free: 6.668 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.477, allocations: 22.06 kB / 1.511 GB, free: 6.648 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.4775, allocations: 358.3 kB / 1.511 GB, free: 6.266 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4778, allocations: 0.7165 MB / 1.512 GB, free: 5.523 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4779, allocations: 23.42 kB / 1.512 GB, free: 5.5 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.4779, allocations: 0 / 1.512 GB, free: 5.5 MB / 1.201 GB Notification: Performance of Templates: time 0.009423/0.4873, allocations: 6.859 MB / 1.519 GB, free: 14.63 MB / 1.217 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.621324043982895]