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.001096/0.001096, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.002862, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00107/0.00107, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002534, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9906/0.9906, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08567/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4918/2.368, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.952e-05, allocations: 2.906 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1243/0.1244, allocations: 131.2 MB / 0.8578 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007943/0.1323, allocations: 7.963 MB / 0.8655 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.1324, allocations: 0 / 0.8655 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1325, allocations: 19.84 kB / 0.8656 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.1326, allocations: 23.78 kB / 0.8656 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.1357, allocations: 1.319 MB / 0.8669 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1358, allocations: 71.61 kB / 0.8669 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.1358, allocations: 11.97 kB / 0.867 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.136, allocations: 67.75 kB / 0.867 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.1361, allocations: 23.91 kB / 0.867 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1361, allocations: 4 kB / 0.867 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.1398, allocations: 2.785 MB / 0.8698 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.1398, allocations: 8 kB / 0.8698 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.1399, allocations: 19.94 kB / 0.8698 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.1431, allocations: 1.314 MB / 0.8711 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-05/0.1431, allocations: 4 kB / 0.8711 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.228e-06/0.1431, allocations: 3.938 kB / 0.8711 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.1431, allocations: 0 / 0.8711 GB, free: 3.273 MB / 0.8386 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.001636/0.1448, allocations: 0.567 MB / 0.8716 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1448, allocations: 12.03 kB / 0.8716 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.1451, allocations: 60.59 kB / 0.8717 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1452, allocations: 109.7 kB / 0.8718 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.1453, allocations: 55.91 kB / 0.8719 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1453, allocations: 16.31 kB / 0.8719 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1456, allocations: 151.1 kB / 0.872 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1456, allocations: 0 / 0.872 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1456, allocations: 0 / 0.872 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1456, allocations: 0 / 0.872 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1458, allocations: 75.91 kB / 0.8721 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1462, allocations: 213.8 kB / 0.8723 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1464, allocations: 94.47 kB / 0.8724 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.1464, allocations: 36.83 kB / 0.8724 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005056/0.1515, allocations: 2.665 MB / 0.875 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1515, allocations: 38.56 kB / 0.8751 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.275e-06/0.1515, allocations: 0 / 0.8751 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.000313/0.1518, allocations: 127.7 kB / 0.8752 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1518, allocations: 55.39 kB / 0.8752 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.1519, allocations: 102.7 kB / 0.8753 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1519, allocations: 25.7 kB / 0.8754 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.1519, allocations: 88.12 kB / 0.8754 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.152, allocations: 43.58 kB / 0.8755 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.152, allocations: 33.69 kB / 0.8755 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.1521, allocations: 322.8 kB / 0.8758 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.1521, allocations: 11.98 kB / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.1521, allocations: 12 kB / 0.8758 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.1522, allocations: 50.81 kB / 0.8759 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1522, allocations: 0 / 0.8759 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001021/0.1523, allocations: 81.55 kB / 0.876 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1523, allocations: 4.938 kB / 0.876 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1523, allocations: 3.938 kB / 0.876 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1523, allocations: 4 kB / 0.876 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.1524, allocations: 19.98 kB / 0.876 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.1524, allocations: 4 kB / 0.876 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.1524, allocations: 11.95 kB / 0.876 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1525, allocations: 8.172 kB / 0.876 GB, free: 14.01 MB / 0.8542 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 5.655e-05/0.1525, allocations: 113.8 kB / 0.8761 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1525, allocations: 15.88 kB / 0.8762 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1528, allocations: 267.1 kB / 0.8764 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.1528, allocations: 7.984 kB / 0.8764 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1528, allocations: 0 / 0.8764 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1528, allocations: 0 / 0.8764 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1529, allocations: 142 kB / 0.8766 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1529, allocations: 0 / 0.8766 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.153, allocations: 39.91 kB / 0.8766 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.153, allocations: 27.72 kB / 0.8766 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.153, allocations: 0 / 0.8766 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1531, allocations: 7.984 kB / 0.8766 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1531, allocations: 0 / 0.8766 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1531, allocations: 3.984 kB / 0.8766 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1532, allocations: 285.1 kB / 0.8769 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1533, allocations: 3.938 kB / 0.8769 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.1533, allocations: 8 kB / 0.8769 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.1533, allocations: 7.984 kB / 0.8769 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1533, allocations: 7.984 kB / 0.8769 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.1534, allocations: 16.84 kB / 0.8769 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1534, allocations: 0 / 0.8769 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006486/0.154, allocations: 299.7 kB / 0.8772 GB, free: 12.73 MB / 0.8542 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.0009346/0.1549, allocations: 471.6 kB / 0.8777 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.155, allocations: 72.77 kB / 0.8777 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.1551, allocations: 4 kB / 0.8778 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.1551, allocations: 76.67 kB / 0.8778 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1554, allocations: 85.44 kB / 0.8779 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1567, allocations: 299.2 kB / 0.8782 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.1567, allocations: 79.84 kB / 0.8783 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.856e-05/0.1568, allocations: 28.48 kB / 0.8783 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.1569, allocations: 85.3 kB / 0.8784 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.1569, allocations: 0 / 0.8784 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.01191/0.1688, allocations: 11.14 MB / 0.8892 GB, free: 372 kB / 0.8542 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.243542302399874]