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.001859/0.001859, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002435/0.002435, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.873/2.873, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.285e-06/2.285e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.531e-05, allocations: 2.859 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1905/0.1905, allocations: 119.2 MB / 0.9272 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.2019, allocations: 7.224 MB / 0.9342 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.202, allocations: 0 / 0.9342 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2022, allocations: 27.8 kB / 0.9342 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.2023, allocations: 15.84 kB / 0.9342 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.2067, allocations: 1.479 MB / 0.9357 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.2069, allocations: 75.59 kB / 0.9358 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.2069, allocations: 4 kB / 0.9358 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2071, allocations: 51.88 kB / 0.9358 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 9.147e-05/0.2072, allocations: 35.89 kB / 0.9359 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2072, allocations: 4 kB / 0.9359 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.2124, allocations: 2.621 MB / 0.9384 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.2124, allocations: 11.98 kB / 0.9384 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.2125, allocations: 23.92 kB / 0.9385 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.2157, allocations: 1.797 MB / 0.9402 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2157, allocations: 0 / 0.9402 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2157, allocations: 0 / 0.9402 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2157, allocations: 0 / 0.9402 GB, free: 13.16 MB / 0.9011 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.001219/0.217, allocations: 433.2 kB / 0.9406 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.217, allocations: 12.02 kB / 0.9406 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.2175, allocations: 52.58 kB / 0.9407 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2176, allocations: 113.7 kB / 0.9408 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.2177, allocations: 55.97 kB / 0.9408 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2177, allocations: 8.375 kB / 0.9408 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.2181, allocations: 147.6 kB / 0.941 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2181, allocations: 0 / 0.941 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2182, allocations: 7.938 kB / 0.941 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2182, allocations: 4 kB / 0.941 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.2185, allocations: 119.8 kB / 0.9411 GB, free: 12.14 MB / 0.9011 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.0005202/0.219, allocations: 268.4 kB / 0.9414 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.2193, allocations: 118.5 kB / 0.9415 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.2194, allocations: 40.84 kB / 0.9415 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.2314, allocations: 3.047 MB / 0.9445 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.2314, allocations: 34.56 kB / 0.9445 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2314, allocations: 0 / 0.9445 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.0006855/0.2321, allocations: 173.5 kB / 0.9447 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2321, allocations: 55.39 kB / 0.9448 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2322, allocations: 97.86 kB / 0.9448 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2323, allocations: 33.7 kB / 0.9449 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.2323, allocations: 80.14 kB / 0.945 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.2324, allocations: 51.52 kB / 0.945 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.2325, allocations: 29.7 kB / 0.945 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2327, allocations: 318.8 kB / 0.9453 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.2327, allocations: 31.92 kB / 0.9454 GB, free: 7.688 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.2328, allocations: 31.11 kB / 0.9454 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2329, allocations: 68.78 kB / 0.9455 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2329, allocations: 0 / 0.9455 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002387/0.2332, allocations: 109.7 kB / 0.9456 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2332, allocations: 4 kB / 0.9456 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2332, allocations: 8 kB / 0.9456 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2332, allocations: 0 / 0.9456 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2333, allocations: 27.92 kB / 0.9456 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2333, allocations: 0 / 0.9456 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.2334, allocations: 11.89 kB / 0.9456 GB, free: 7.426 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2334, allocations: 4.188 kB / 0.9456 GB, free: 7.422 MB / 0.9011 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.0001163/0.2335, allocations: 121.8 kB / 0.9457 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2336, allocations: 19.89 kB / 0.9458 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007668/0.2344, allocations: 384 kB / 0.9461 GB, free: 6.887 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.2344, allocations: 7.984 kB / 0.9461 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2344, allocations: 0 / 0.9461 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2344, allocations: 0 / 0.9461 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.2348, allocations: 221 kB / 0.9463 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2348, allocations: 0 / 0.9463 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2349, allocations: 19.98 kB / 0.9464 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2349, allocations: 4 kB / 0.9464 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2349, allocations: 4 kB / 0.9464 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2349, allocations: 0 / 0.9464 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2349, allocations: 3.984 kB / 0.9464 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.2354, allocations: 346.9 kB / 0.9467 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.2354, allocations: 27.83 kB / 0.9467 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2355, allocations: 4 kB / 0.9467 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2356, allocations: 7.984 kB / 0.9467 GB, free: 6.207 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.2357, allocations: 7.984 kB / 0.9467 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2357, allocations: 7.984 kB / 0.9468 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.2357, allocations: 87.28 kB / 0.9468 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.2357, allocations: 0 / 0.9468 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001094/0.2368, allocations: 307.6 kB / 0.9471 GB, free: 5.805 MB / 0.9011 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.001776/0.2386, allocations: 438.7 kB / 0.9475 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.2389, allocations: 123.9 kB / 0.9477 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2389, allocations: 0 / 0.9477 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.239, allocations: 91.89 kB / 0.9478 GB, free: 5.156 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.2394, allocations: 31.91 kB / 0.9478 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.24, allocations: 318 kB / 0.9481 GB, free: 4.793 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2402, allocations: 98.12 kB / 0.9482 GB, free: 4.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.2403, allocations: 32.55 kB / 0.9482 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.2403, allocations: 20.5 kB / 0.9482 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of SimCode: time 7.12e-07/0.2403, allocations: 0 / 0.9482 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of Templates: time 0.02126/0.2616, allocations: 10.05 MB / 0.958 GB, free: 10.61 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.43463256303221]