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.001288/0.001288, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001553/0.001553, allocations: 181 kB / 24.09 MB, free: 420 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.068/1.068, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.888/1.888, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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.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 3.306e-06/3.306e-06, allocations: 0 / 0.8119 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.301e-05, allocations: 6.969 kB / 0.812 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1421/0.1421, allocations: 144.9 MB / 0.9534 GB, free: 160 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.1461, allocations: 2.898 MB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.1466, allocations: 23.81 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.1473, allocations: 202.7 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1488, allocations: 0.7576 MB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.1495, allocations: 426.7 kB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1507, allocations: 1.145 MB / 0.9587 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/0.1511, allocations: 292.7 kB / 0.959 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.1525, allocations: 0.701 MB / 0.9597 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.153, allocations: 311 kB / 0.96 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.153, allocations: 40 kB / 0.96 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.1536, allocations: 335.1 kB / 0.9604 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.1537, allocations: 183.4 kB / 0.9605 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1539, allocations: 179.5 kB / 0.9607 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007861/0.1547, allocations: 0.5917 MB / 0.9613 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1547, allocations: 0 / 0.9613 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1547, allocations: 0 / 0.9613 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1547, allocations: 4 kB / 0.9613 GB, free: 8.121 MB / 0.9167 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.001021/0.1557, allocations: 0.8843 MB / 0.9622 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1557, allocations: 8.031 kB / 0.9622 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/0.1563, allocations: 180.3 kB / 0.9623 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.1568, allocations: 449 kB / 0.9628 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1568, allocations: 24.78 kB / 0.9628 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.1568, allocations: 31.94 kB / 0.9628 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.1571, allocations: 342.2 kB / 0.9631 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1572, allocations: 0 / 0.9631 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1572, allocations: 12 kB / 0.9632 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.1572, allocations: 12.66 kB / 0.9632 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1573, allocations: 95.12 kB / 0.9633 GB, free: 6.004 MB / 0.9167 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.001034/0.1584, allocations: 0.9045 MB / 0.9641 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1585, allocations: 136.1 kB / 0.9643 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.1586, allocations: 60.08 kB / 0.9643 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1586, allocations: 7.938 kB / 0.9643 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1588, allocations: 221.9 kB / 0.9645 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 2.304e-06/0.1588, allocations: 0 / 0.9645 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.001254/0.16, allocations: 0.7062 MB / 0.9652 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1601, allocations: 55.41 kB / 0.9653 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1603, allocations: 438.5 kB / 0.9657 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1604, allocations: 33.7 kB / 0.9657 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1605, allocations: 303.1 kB / 0.966 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/0.1606, allocations: 99.14 kB / 0.9661 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.1607, allocations: 91.62 kB / 0.9662 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1608, allocations: 0.5312 MB / 0.9667 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.1609, allocations: 40.72 kB / 0.9668 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.161, allocations: 123.6 kB / 0.9669 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1611, allocations: 180.8 kB / 0.9671 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1611, allocations: 0 / 0.9671 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004045/0.1615, allocations: 329.2 kB / 0.9674 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1616, allocations: 4 kB / 0.9674 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1616, allocations: 4 kB / 0.9674 GB, free: 1.527 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.1618, allocations: 83.72 kB / 0.9675 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1619, allocations: 71.84 kB / 0.9675 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1631, allocations: 2.107 MB / 0.9696 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1632, allocations: 8 kB / 0.9696 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1632, allocations: 12 kB / 0.9696 GB, free: 15.13 MB / 0.9323 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.0001228/0.1633, allocations: 186 kB / 0.9698 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.1634, allocations: 59.67 kB / 0.9698 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.1638, allocations: 275 kB / 0.9701 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1638, allocations: 0 / 0.9701 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1638, allocations: 4 kB / 0.9701 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1638, allocations: 0 / 0.9701 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.1645, allocations: 0.6779 MB / 0.9708 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1645, allocations: 0 / 0.9708 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1647, allocations: 63.91 kB / 0.9708 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.1649, allocations: 75.61 kB / 0.9709 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1649, allocations: 15.98 kB / 0.9709 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.1657, allocations: 1.792 MB / 0.9727 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1657, allocations: 0 / 0.9727 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.1662, allocations: 472.6 kB / 0.9731 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.1663, allocations: 75.67 kB / 0.9732 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1663, allocations: 4 kB / 0.9732 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1664, allocations: 16.02 kB / 0.9732 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1665, allocations: 19.97 kB / 0.9732 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1665, allocations: 11.98 kB / 0.9732 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000147/0.1667, allocations: 275 kB / 0.9735 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1667, allocations: 0 / 0.9735 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003236/0.167, allocations: 127.9 kB / 0.9736 GB, free: 10.82 MB / 0.9323 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.0008211/0.1678, allocations: 406.2 kB / 0.974 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.1682, allocations: 356.8 kB / 0.9743 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1682, allocations: 0 / 0.9743 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1683, allocations: 269.8 kB / 0.9746 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.169, allocations: 252.6 kB / 0.9748 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1702, allocations: 0.8458 MB / 0.9757 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.744e-05/0.1703, allocations: 137 kB / 0.9758 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.1705, allocations: 72.33 kB / 0.9759 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.1708, allocations: 238 kB / 0.9761 GB, free: 8.328 MB / 0.9323 GB Notification: Performance of SimCode: time 1.193e-06/0.1708, allocations: 0 / 0.9761 GB, free: 8.328 MB / 0.9323 GB Notification: Performance of Templates: time 0.0144/0.1852, allocations: 10.37 MB / 0.9862 GB, free: 14.2 MB / 0.948 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 -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.7187784248963]