Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.0009935/0.0009935, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009827/0.0009827, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.057/1.057, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.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.898/1.898, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.389e-05, allocations: 6.172 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1443/0.1443, allocations: 147 MB / 0.9036 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005511/0.1498, allocations: 2.968 MB / 0.9065 GB, free: 284 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.1504, allocations: 23.81 kB / 0.9065 GB, free: 260 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.1511, allocations: 206.7 kB / 0.9067 GB, free: 52 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1527, allocations: 0.7498 MB / 0.9075 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.1536, allocations: 430.7 kB / 0.9079 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1549, allocations: 1.126 MB / 0.909 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007115/0.1556, allocations: 312.1 kB / 0.9093 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.1567, allocations: 0.6439 MB / 0.9099 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.1572, allocations: 299.1 kB / 0.9102 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.1573, allocations: 40 kB / 0.9102 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.158, allocations: 331.1 kB / 0.9105 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1581, allocations: 183.4 kB / 0.9107 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.1586, allocations: 183.5 kB / 0.9109 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.1594, allocations: 0.5878 MB / 0.9115 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1594, allocations: 0 / 0.9115 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1594, allocations: 0 / 0.9115 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1594, allocations: 0 / 0.9115 GB, free: 11.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001006/0.1604, allocations: 0.7518 MB / 0.9122 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1605, allocations: 16.03 kB / 0.9122 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.1613, allocations: 168.5 kB / 0.9124 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.1619, allocations: 390.4 kB / 0.9127 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.1619, allocations: 24.78 kB / 0.9128 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.162, allocations: 28 kB / 0.9128 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.1623, allocations: 347.3 kB / 0.9131 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1624, allocations: 0 / 0.9131 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.1624, allocations: 12 kB / 0.9131 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1624, allocations: 12.66 kB / 0.9131 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.1626, allocations: 89.98 kB / 0.9132 GB, free: 9.293 MB / 0.8698 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.001147/0.1637, allocations: 0.671 MB / 0.9139 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.164, allocations: 168 kB / 0.914 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.164, allocations: 57.19 kB / 0.9141 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.164, allocations: 7.938 kB / 0.9141 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.1643, allocations: 211.3 kB / 0.9143 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.1643, allocations: 0 / 0.9143 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.001652/0.1659, allocations: 0.6778 MB / 0.915 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1659, allocations: 55.41 kB / 0.915 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.1663, allocations: 366.1 kB / 0.9154 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1663, allocations: 33.7 kB / 0.9154 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1664, allocations: 197.4 kB / 0.9156 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.1665, allocations: 111.1 kB / 0.9157 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1666, allocations: 74.03 kB / 0.9158 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1667, allocations: 358.7 kB / 0.9161 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.1668, allocations: 43.5 kB / 0.9162 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1669, allocations: 98.67 kB / 0.9162 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1671, allocations: 161.5 kB / 0.9164 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1671, allocations: 4 kB / 0.9164 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004556/0.1676, allocations: 256.3 kB / 0.9166 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1676, allocations: 8 kB / 0.9167 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1676, allocations: 0 / 0.9167 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.1679, allocations: 87.78 kB / 0.9167 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.1681, allocations: 75.89 kB / 0.9168 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.1693, allocations: 1.549 MB / 0.9183 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.1695, allocations: 8 kB / 0.9183 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.1695, allocations: 15.98 kB / 0.9183 GB, free: 3.738 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.1696, allocations: 145.9 kB / 0.9185 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1697, allocations: 39.95 kB / 0.9185 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.1701, allocations: 230.8 kB / 0.9187 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1701, allocations: 3.938 kB / 0.9187 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1701, allocations: 4 kB / 0.9188 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1701, allocations: 3.984 kB / 0.9188 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.171, allocations: 0.5617 MB / 0.9193 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.171, allocations: 3.984 kB / 0.9193 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.1713, allocations: 95.47 kB / 0.9194 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.1716, allocations: 87.48 kB / 0.9195 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1716, allocations: 8 kB / 0.9195 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007875/0.1724, allocations: 1.257 MB / 0.9207 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1724, allocations: 3.938 kB / 0.9207 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.173, allocations: 398.2 kB / 0.9211 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1731, allocations: 67.55 kB / 0.9212 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1731, allocations: 8 kB / 0.9212 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1733, allocations: 8 kB / 0.9212 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1734, allocations: 23.95 kB / 0.9212 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1734, allocations: 7.984 kB / 0.9212 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001581/0.1736, allocations: 152.7 kB / 0.9214 GB, free: 492 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.1736, allocations: 0 / 0.9214 GB, free: 492 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000453/0.174, allocations: 120 kB / 0.9215 GB, free: 372 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.1754, allocations: 0.5294 MB / 0.922 GB, free: 64 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.1759, allocations: 274.6 kB / 0.9222 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.1759, allocations: 4 kB / 0.9223 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.176, allocations: 204.1 kB / 0.9224 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.1768, allocations: 266.1 kB / 0.9227 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1782, allocations: 0.8247 MB / 0.9235 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.617e-05/0.1783, allocations: 137.2 kB / 0.9236 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002303/0.1785, allocations: 68.34 kB / 0.9237 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.1789, allocations: 197.1 kB / 0.9239 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of SimCode: time 1.302e-06/0.1789, allocations: 0 / 0.9239 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of Templates: time 0.01482/0.1937, allocations: 10.41 MB / 0.9341 GB, free: 3.883 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5191063727252185]