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.001339/0.001339, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001428/0.001428, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.273/3.273, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002059/0.002059, allocations: 66.55 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3856, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.166/0.5516, allocations: 119.1 MB / 1.481 GB, free: 6.023 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.5622, allocations: 7.236 MB / 1.488 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.5623, allocations: 0 / 1.488 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.5624, allocations: 19.84 kB / 1.488 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.5625, allocations: 15.86 kB / 1.488 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.5667, allocations: 1.473 MB / 1.489 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.5669, allocations: 75.64 kB / 1.49 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.5669, allocations: 4 kB / 1.49 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.5671, allocations: 43.84 kB / 1.49 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.5672, allocations: 35.83 kB / 1.49 GB, free: 13.1 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.5672, allocations: 4 kB / 1.49 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.5722, allocations: 2.606 MB / 1.492 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.5723, allocations: 19.91 kB / 1.492 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.5723, allocations: 23.92 kB / 1.492 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.5751, allocations: 1.395 MB / 1.494 GB, free: 9.043 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5751, allocations: 4 kB / 1.494 GB, free: 9.039 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5751, allocations: 0 / 1.494 GB, free: 9.039 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5751, allocations: 0 / 1.494 GB, free: 9.039 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.001206/0.5763, allocations: 425.2 kB / 1.494 GB, free: 8.594 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5763, allocations: 12.03 kB / 1.494 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.5767, allocations: 24.86 kB / 1.494 GB, free: 8.559 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.5769, allocations: 114.5 kB / 1.494 GB, free: 8.422 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/0.577, allocations: 55.97 kB / 1.494 GB, free: 8.355 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.577, allocations: 11.94 kB / 1.494 GB, free: 8.344 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.5774, allocations: 151.2 kB / 1.494 GB, free: 8.184 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5774, allocations: 0 / 1.494 GB, free: 8.184 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.5774, allocations: 0 / 1.494 GB, free: 8.184 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.5774, allocations: 4 kB / 1.494 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.5777, allocations: 119.9 kB / 1.494 GB, free: 8.062 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.0005126/0.5782, allocations: 280.3 kB / 1.495 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.5785, allocations: 114.5 kB / 1.495 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.5786, allocations: 44.84 kB / 1.495 GB, free: 7.59 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.5903, allocations: 3.044 MB / 1.498 GB, free: 4.543 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.5903, allocations: 30.56 kB / 1.498 GB, free: 4.504 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.5903, allocations: 0 / 1.498 GB, free: 4.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0005697/0.5909, allocations: 165.6 kB / 1.498 GB, free: 4.336 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.591, allocations: 55.41 kB / 1.498 GB, free: 4.27 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.591, allocations: 101.8 kB / 1.498 GB, free: 4.16 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.5911, allocations: 29.64 kB / 1.498 GB, free: 4.125 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.5911, allocations: 84.09 kB / 1.498 GB, free: 4.039 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.5912, allocations: 51.58 kB / 1.498 GB, free: 3.988 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.5912, allocations: 29.66 kB / 1.498 GB, free: 3.953 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5914, allocations: 322.8 kB / 1.499 GB, free: 3.629 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.5914, allocations: 27.98 kB / 1.499 GB, free: 3.602 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.5915, allocations: 27.23 kB / 1.499 GB, free: 3.578 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.5916, allocations: 72.84 kB / 1.499 GB, free: 3.504 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5916, allocations: 0 / 1.499 GB, free: 3.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001843/0.5918, allocations: 105.7 kB / 1.499 GB, free: 3.395 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5918, allocations: 4 kB / 1.499 GB, free: 3.391 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5918, allocations: 0 / 1.499 GB, free: 3.391 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5918, allocations: 0 / 1.499 GB, free: 3.391 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.5919, allocations: 31.92 kB / 1.499 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.592, allocations: 0 / 1.499 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.592, allocations: 7.953 kB / 1.499 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.592, allocations: 4 kB / 1.499 GB, free: 3.348 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.588e-05/0.5921, allocations: 117.8 kB / 1.499 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.5922, allocations: 7.953 kB / 1.499 GB, free: 3.215 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.5927, allocations: 380.1 kB / 1.499 GB, free: 2.836 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5927, allocations: 3.984 kB / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5927, allocations: 0 / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5927, allocations: 0 / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.593, allocations: 225 kB / 1.5 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.593, allocations: 0 / 1.5 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.5931, allocations: 27.98 kB / 1.5 GB, free: 2.555 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5931, allocations: 0 / 1.5 GB, free: 2.555 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5931, allocations: 4 kB / 1.5 GB, free: 2.551 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5931, allocations: 0 / 1.5 GB, free: 2.551 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5931, allocations: 0 / 1.5 GB, free: 2.551 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.5935, allocations: 346.9 kB / 1.5 GB, free: 2.195 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.5935, allocations: 23.81 kB / 1.5 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5935, allocations: 8 kB / 1.5 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5937, allocations: 0 / 1.5 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.5937, allocations: 15.97 kB / 1.5 GB, free: 2.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5937, allocations: 7.938 kB / 1.5 GB, free: 2.141 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.5938, allocations: 87.45 kB / 1.5 GB, free: 2.055 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5938, allocations: 0 / 1.5 GB, free: 2.055 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009413/0.5947, allocations: 307.6 kB / 1.5 GB, free: 1.754 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.001225/0.5959, allocations: 410.8 kB / 1.501 GB, free: 1.344 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.5961, allocations: 123.8 kB / 1.501 GB, free: 1.223 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5962, allocations: 4 kB / 1.501 GB, free: 1.219 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.5963, allocations: 87.91 kB / 1.501 GB, free: 1.133 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.5966, allocations: 21.84 kB / 1.501 GB, free: 1.113 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.5971, allocations: 346.5 kB / 1.501 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.5972, allocations: 102.4 kB / 1.501 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.5973, allocations: 15.44 kB / 1.501 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.5973, allocations: 0 / 1.501 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of Templates: time 0.01134/0.6086, allocations: 6.909 MB / 1.508 GB, free: 9.684 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/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: 12.319679865147918]