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.00128/0.00128, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001412/0.001412, allocations: 213.8 kB / 23.04 MB, free: 4.863 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.424/1.424, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.088/3.088, allocations: 0.49 GB / 0.7959 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001984/0.001984, allocations: 66.53 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3543, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1581/0.5124, allocations: 119.1 MB / 1.443 GB, free: 9.438 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009867/0.5222, allocations: 7.232 MB / 1.451 GB, free: 2.18 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.5223, allocations: 0 / 1.451 GB, free: 2.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.5225, allocations: 23.84 kB / 1.451 GB, free: 2.156 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.5225, allocations: 23.84 kB / 1.451 GB, free: 2.133 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.5262, allocations: 1.468 MB / 1.452 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.5264, allocations: 75.72 kB / 1.452 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.5264, allocations: 0 / 1.452 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.5265, allocations: 51.77 kB / 1.452 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.5266, allocations: 27.91 kB / 1.452 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.5266, allocations: 7.984 kB / 1.452 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.5307, allocations: 2.606 MB / 1.455 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.5308, allocations: 19.91 kB / 1.455 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.5308, allocations: 27.92 kB / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.5326, allocations: 1.388 MB / 1.456 GB, free: 12.46 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5326, allocations: 4 kB / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5326, allocations: 0 / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.5326, allocations: 0 / 1.456 GB, free: 12.45 MB / 1.154 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.0009533/0.5336, allocations: 437.2 kB / 1.457 GB, free: 12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5336, allocations: 8.031 kB / 1.457 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.534, allocations: 24.88 kB / 1.457 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5341, allocations: 114.5 kB / 1.457 GB, free: 11.83 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.5342, allocations: 59.91 kB / 1.457 GB, free: 11.76 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.5342, allocations: 11.94 kB / 1.457 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.5346, allocations: 147.3 kB / 1.457 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5346, allocations: 0 / 1.457 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.5346, allocations: 4 kB / 1.457 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5346, allocations: 0 / 1.457 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.5349, allocations: 115.9 kB / 1.457 GB, free: 11.47 MB / 1.154 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.0004465/0.5353, allocations: 272.4 kB / 1.457 GB, free: 11.18 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.5356, allocations: 114.6 kB / 1.457 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.5357, allocations: 56.81 kB / 1.457 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.5467, allocations: 3.036 MB / 1.46 GB, free: 7.957 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5467, allocations: 30.56 kB / 1.46 GB, free: 7.918 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.855e-06/0.5467, allocations: 0 / 1.46 GB, free: 7.918 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0005817/0.5473, allocations: 172.5 kB / 1.461 GB, free: 7.746 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.5473, allocations: 59.33 kB / 1.461 GB, free: 7.676 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.5474, allocations: 97.86 kB / 1.461 GB, free: 7.57 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5474, allocations: 29.7 kB / 1.461 GB, free: 7.535 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.5475, allocations: 88.14 kB / 1.461 GB, free: 7.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.5475, allocations: 43.58 kB / 1.461 GB, free: 7.402 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.5476, allocations: 29.7 kB / 1.461 GB, free: 7.367 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5477, allocations: 326.7 kB / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.5478, allocations: 23.98 kB / 1.461 GB, free: 7.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.5478, allocations: 23.98 kB / 1.461 GB, free: 6.992 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.5479, allocations: 68.84 kB / 1.461 GB, free: 6.922 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5479, allocations: 0 / 1.461 GB, free: 6.922 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001886/0.5481, allocations: 119.2 kB / 1.461 GB, free: 6.801 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5482, allocations: 4 kB / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5482, allocations: 0 / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5482, allocations: 4 kB / 1.461 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5483, allocations: 19.98 kB / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5483, allocations: 4 kB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.5483, allocations: 3.953 kB / 1.461 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.5484, allocations: 8 kB / 1.461 GB, free: 6.758 MB / 1.154 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.749e-05/0.5485, allocations: 126.2 kB / 1.462 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.5485, allocations: 0 / 1.462 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.549, allocations: 380.3 kB / 1.462 GB, free: 6.246 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.549, allocations: 11.98 kB / 1.462 GB, free: 6.234 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.549, allocations: 4 kB / 1.462 GB, free: 6.23 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.549, allocations: 0 / 1.462 GB, free: 6.23 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.5493, allocations: 217 kB / 1.462 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5493, allocations: 0 / 1.462 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.5494, allocations: 23.98 kB / 1.462 GB, free: 5.965 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5494, allocations: 3.938 kB / 1.462 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.5494, allocations: 3.984 kB / 1.462 GB, free: 5.957 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.5494, allocations: 4 kB / 1.462 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5494, allocations: 0 / 1.462 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.5498, allocations: 335 kB / 1.463 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.5498, allocations: 27.83 kB / 1.463 GB, free: 5.582 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.5498, allocations: 7.984 kB / 1.463 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.55, allocations: 12 kB / 1.463 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.55, allocations: 11.92 kB / 1.463 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.55, allocations: 7.984 kB / 1.463 GB, free: 5.543 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.5501, allocations: 83.28 kB / 1.463 GB, free: 5.461 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.5501, allocations: 0 / 1.463 GB, free: 5.461 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008747/0.5509, allocations: 303.6 kB / 1.463 GB, free: 5.164 MB / 1.154 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.001143/0.5521, allocations: 402.7 kB / 1.463 GB, free: 4.762 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.5523, allocations: 119.9 kB / 1.463 GB, free: 4.645 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5523, allocations: 0 / 1.463 GB, free: 4.645 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.5524, allocations: 109.5 kB / 1.464 GB, free: 4.539 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.5527, allocations: 17.7 kB / 1.464 GB, free: 4.523 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.5533, allocations: 346.4 kB / 1.464 GB, free: 4.148 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.5534, allocations: 98.41 kB / 1.464 GB, free: 4.035 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.5534, allocations: 27.42 kB / 1.464 GB, free: 4.008 MB / 1.154 GB Notification: Performance of SimCode: time 4.81e-07/0.5534, allocations: 0 / 1.464 GB, free: 4.008 MB / 1.154 GB Notification: Performance of Templates: time 0.01067/0.5641, allocations: 6.902 MB / 1.471 GB, free: 13.1 MB / 1.17 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.635209259111434]