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.002092/0.002092, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002458/0.002458, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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 3.505/3.505, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] 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.002199/0.002199, allocations: 72.53 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4762, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1662/0.6424, allocations: 119.1 MB / 1.48 GB, free: 6 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009706/0.6521, allocations: 7.232 MB / 1.487 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.6522, allocations: 0 / 1.487 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.6524, allocations: 27.83 kB / 1.487 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.6525, allocations: 11.86 kB / 1.487 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.6564, allocations: 1.458 MB / 1.489 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.6565, allocations: 79.62 kB / 1.489 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.6566, allocations: 4 kB / 1.489 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.6567, allocations: 39.86 kB / 1.489 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.6568, allocations: 35.83 kB / 1.489 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.6568, allocations: 4 kB / 1.489 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.6613, allocations: 2.618 MB / 1.491 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.6613, allocations: 8 kB / 1.491 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.6614, allocations: 31.84 kB / 1.491 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.6634, allocations: 1.388 MB / 1.493 GB, free: 9.035 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6634, allocations: 0 / 1.493 GB, free: 9.035 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6634, allocations: 0 / 1.493 GB, free: 9.035 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6634, allocations: 0 / 1.493 GB, free: 9.035 MB / 1.186 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.0009672/0.6644, allocations: 437.2 kB / 1.493 GB, free: 8.578 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6644, allocations: 8.031 kB / 1.493 GB, free: 8.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.6648, allocations: 20.88 kB / 1.493 GB, free: 8.551 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.6649, allocations: 114.5 kB / 1.493 GB, free: 8.414 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.665, allocations: 67.89 kB / 1.493 GB, free: 8.336 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.665, allocations: 7.938 kB / 1.493 GB, free: 8.328 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.6654, allocations: 143.3 kB / 1.494 GB, free: 8.176 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6654, allocations: 0 / 1.494 GB, free: 8.176 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.6654, allocations: 0 / 1.494 GB, free: 8.176 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6654, allocations: 7.938 kB / 1.494 GB, free: 8.168 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.6657, allocations: 119.9 kB / 1.494 GB, free: 8.051 MB / 1.186 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.0005044/0.6662, allocations: 280.3 kB / 1.494 GB, free: 7.746 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6665, allocations: 114.5 kB / 1.494 GB, free: 7.625 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.6666, allocations: 44.84 kB / 1.494 GB, free: 7.578 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.6778, allocations: 3.04 MB / 1.497 GB, free: 4.535 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6778, allocations: 38.5 kB / 1.497 GB, free: 4.488 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.6778, allocations: 0 / 1.497 GB, free: 4.488 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0005441/0.6784, allocations: 161.6 kB / 1.497 GB, free: 4.324 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.6784, allocations: 59.41 kB / 1.497 GB, free: 4.254 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.6785, allocations: 101.8 kB / 1.497 GB, free: 4.145 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.6785, allocations: 25.7 kB / 1.497 GB, free: 4.113 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.6786, allocations: 88.09 kB / 1.498 GB, free: 4.023 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.6786, allocations: 51.56 kB / 1.498 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.6787, allocations: 29.7 kB / 1.498 GB, free: 3.938 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6788, allocations: 318.8 kB / 1.498 GB, free: 3.617 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.6789, allocations: 23.98 kB / 1.498 GB, free: 3.594 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.6789, allocations: 30.36 kB / 1.498 GB, free: 3.566 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.6791, allocations: 68.84 kB / 1.498 GB, free: 3.496 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6791, allocations: 4 kB / 1.498 GB, free: 3.492 MB / 1.186 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001869/0.6792, allocations: 108.4 kB / 1.498 GB, free: 3.383 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6793, allocations: 4 kB / 1.498 GB, free: 3.379 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6793, allocations: 4 kB / 1.498 GB, free: 3.375 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6793, allocations: 0 / 1.498 GB, free: 3.375 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6794, allocations: 23.98 kB / 1.498 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6794, allocations: 0 / 1.498 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.6795, allocations: 7.953 kB / 1.498 GB, free: 3.344 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.6795, allocations: 3.938 kB / 1.498 GB, free: 3.34 MB / 1.186 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.52e-05/0.6796, allocations: 117.8 kB / 1.498 GB, free: 3.215 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.6796, allocations: 15.89 kB / 1.498 GB, free: 3.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.6801, allocations: 384.1 kB / 1.499 GB, free: 2.816 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.6801, allocations: 3.984 kB / 1.499 GB, free: 2.812 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6801, allocations: 4 kB / 1.499 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6801, allocations: 0 / 1.499 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.6804, allocations: 225 kB / 1.499 GB, free: 2.559 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6804, allocations: 0 / 1.499 GB, free: 2.559 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.6805, allocations: 19.98 kB / 1.499 GB, free: 2.539 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6805, allocations: 4 kB / 1.499 GB, free: 2.535 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.6805, allocations: 7.938 kB / 1.499 GB, free: 2.527 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6805, allocations: 0 / 1.499 GB, free: 2.527 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6805, allocations: 4 kB / 1.499 GB, free: 2.523 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.6809, allocations: 347.1 kB / 1.499 GB, free: 2.168 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.6809, allocations: 27.81 kB / 1.499 GB, free: 2.141 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.6809, allocations: 4 kB / 1.499 GB, free: 2.137 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.6811, allocations: 11.92 kB / 1.499 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.6811, allocations: 7.984 kB / 1.499 GB, free: 2.117 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6811, allocations: 8 kB / 1.499 GB, free: 2.109 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.6812, allocations: 79.27 kB / 1.499 GB, free: 2.031 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6812, allocations: 4 kB / 1.499 GB, free: 2.027 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009059/0.6821, allocations: 307.6 kB / 1.5 GB, free: 1.727 MB / 1.186 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.001181/0.6833, allocations: 402.7 kB / 1.5 GB, free: 1.324 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.6835, allocations: 126.1 kB / 1.5 GB, free: 1.203 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6835, allocations: 0 / 1.5 GB, free: 1.203 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6836, allocations: 87.91 kB / 1.5 GB, free: 1.117 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.6839, allocations: 17.36 kB / 1.5 GB, free: 1.102 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.6845, allocations: 324.7 kB / 1.501 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.6846, allocations: 106.4 kB / 1.501 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.6847, allocations: 28.34 kB / 1.501 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.6847, allocations: 15.44 kB / 1.501 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of SimCode: time 2.71e-07/0.6847, allocations: 0 / 1.501 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of Templates: time 0.01665/0.7014, allocations: 9.958 MB / 1.51 GB, free: 6.652 MB / 1.201 GB " [Timeout remaining time 299] 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/jenkins/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.316805258393288]