Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002667/0.002667, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002071/0.002071, allocations: 165.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.641/1.641, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.871/2.871, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.388e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1981/0.1982, allocations: 131 MB / 0.9143 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.2107, allocations: 7.909 MB / 0.922 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.2108, allocations: 0 / 0.922 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.211, allocations: 27.78 kB / 0.922 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.2111, allocations: 23.83 kB / 0.922 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.2159, allocations: 1.479 MB / 0.9235 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.2161, allocations: 79.58 kB / 0.9236 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.2161, allocations: 3.984 kB / 0.9236 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2163, allocations: 55.88 kB / 0.9236 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.2164, allocations: 27.91 kB / 0.9236 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2164, allocations: 4 kB / 0.9237 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005548/0.222, allocations: 2.618 MB / 0.9262 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.222, allocations: 19.97 kB / 0.9262 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.222, allocations: 23.92 kB / 0.9263 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003834/0.2259, allocations: 1.797 MB / 0.928 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2259, allocations: 0 / 0.928 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2259, allocations: 0 / 0.928 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2259, allocations: 0 / 0.928 GB, free: 11.32 MB / 0.8855 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.00141/0.2273, allocations: 0.5187 MB / 0.9285 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2274, allocations: 12.03 kB / 0.9285 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.2278, allocations: 52.58 kB / 0.9286 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2279, allocations: 120.5 kB / 0.9287 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.228, allocations: 63.97 kB / 0.9287 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.228, allocations: 8.375 kB / 0.9288 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.2286, allocations: 135.6 kB / 0.9289 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2286, allocations: 0 / 0.9289 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2286, allocations: 0 / 0.9289 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2286, allocations: 4 kB / 0.9289 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.2289, allocations: 103.9 kB / 0.929 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.2294, allocations: 319.6 kB / 0.9293 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.2298, allocations: 127 kB / 0.9294 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.2298, allocations: 47.67 kB / 0.9295 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.2426, allocations: 3.058 MB / 0.9324 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.2426, allocations: 41.33 kB / 0.9325 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2426, allocations: 0 / 0.9325 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005959/0.2432, allocations: 165.5 kB / 0.9326 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.2433, allocations: 59.41 kB / 0.9327 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2434, allocations: 157.9 kB / 0.9329 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.2434, allocations: 33.7 kB / 0.9329 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.2435, allocations: 130.9 kB / 0.933 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.2436, allocations: 51.53 kB / 0.9331 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.2437, allocations: 35.36 kB / 0.9331 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002656/0.2439, allocations: 496.1 kB / 0.9336 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.244, allocations: 27.92 kB / 0.9336 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.244, allocations: 23.98 kB / 0.9336 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.2442, allocations: 77.55 kB / 0.9337 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2442, allocations: 0 / 0.9337 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002366/0.2444, allocations: 113.7 kB / 0.9338 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2444, allocations: 9.719 kB / 0.9338 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2444, allocations: 0 / 0.9338 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2445, allocations: 0 / 0.9338 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2446, allocations: 27.92 kB / 0.9338 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.2446, allocations: 0 / 0.9338 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.2447, allocations: 3.953 kB / 0.9338 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.2447, allocations: 8 kB / 0.9338 GB, free: 5.113 MB / 0.8855 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 0.0001426/0.2448, allocations: 168.5 kB / 0.934 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.2449, allocations: 11.94 kB / 0.934 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.2454, allocations: 268.2 kB / 0.9343 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.2454, allocations: 12 kB / 0.9343 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2454, allocations: 0 / 0.9343 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2454, allocations: 7.922 kB / 0.9343 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.2457, allocations: 192.4 kB / 0.9345 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2457, allocations: 0 / 0.9345 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2458, allocations: 23.98 kB / 0.9345 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2458, allocations: 0 / 0.9345 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2458, allocations: 4 kB / 0.9345 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2458, allocations: 0 / 0.9345 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.2458, allocations: 3.984 kB / 0.9345 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.2463, allocations: 347.6 kB / 0.9348 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.2463, allocations: 27.83 kB / 0.9349 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2464, allocations: 7.984 kB / 0.9349 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2465, allocations: 4 kB / 0.9349 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.2465, allocations: 11.98 kB / 0.9349 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.2465, allocations: 7.984 kB / 0.9349 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.2466, allocations: 123.4 kB / 0.935 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.2466, allocations: 0 / 0.935 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001011/0.2476, allocations: 307.6 kB / 0.9353 GB, free: 3.543 MB / 0.8855 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.001706/0.2493, allocations: 454.7 kB / 0.9357 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.2496, allocations: 109.4 kB / 0.9358 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2496, allocations: 4 kB / 0.9358 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.2499, allocations: 79.59 kB / 0.9359 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2502, allocations: 35.83 kB / 0.936 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.2509, allocations: 290.3 kB / 0.9362 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.251, allocations: 106.1 kB / 0.9363 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.2511, allocations: 24.47 kB / 0.9364 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.2512, allocations: 16.48 kB / 0.9364 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of SimCode: time 8.92e-07/0.2512, allocations: 0 / 0.9364 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of Templates: time 0.01868/0.2699, allocations: 10.33 MB / 0.9465 GB, free: 8.078 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.7288338590879]