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.001024/0.001024, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001186/0.001186, allocations: 164.3 kB / 24.86 MB, free: 8.688 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.873/1.873, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.462e-06/1.462e-06, allocations: 0.7656 kB / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.467e-05, allocations: 7.156 kB / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1503/0.1504, allocations: 144.9 MB / 0.9542 GB, free: 140 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.1549, allocations: 2.887 MB / 0.957 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.1556, allocations: 23.81 kB / 0.957 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.1562, allocations: 206.7 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.1577, allocations: 0.7576 MB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.1586, allocations: 426.7 kB / 0.9584 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.16, allocations: 1.144 MB / 0.9595 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.1604, allocations: 292.7 kB / 0.9598 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.162, allocations: 0.7075 MB / 0.9605 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.1624, allocations: 311 kB / 0.9608 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.1625, allocations: 36 kB / 0.9608 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.1631, allocations: 343.1 kB / 0.9611 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1633, allocations: 179.4 kB / 0.9613 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.1634, allocations: 179.5 kB / 0.9615 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009055/0.1644, allocations: 0.5917 MB / 0.9621 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1644, allocations: 0 / 0.9621 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.013e-06/0.1644, allocations: 4 kB / 0.9621 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1644, allocations: 4 kB / 0.9621 GB, free: 8.102 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.001091/0.1655, allocations: 0.8843 MB / 0.9629 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1655, allocations: 8.031 kB / 0.9629 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/0.1661, allocations: 200.2 kB / 0.9631 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.1666, allocations: 433 kB / 0.9635 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.1666, allocations: 24.78 kB / 0.9636 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.1667, allocations: 32 kB / 0.9636 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.167, allocations: 338.2 kB / 0.9639 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.167, allocations: 0 / 0.9639 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.167, allocations: 16 kB / 0.9639 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.1671, allocations: 12.64 kB / 0.9639 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1672, allocations: 95.06 kB / 0.964 GB, free: 5.98 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.00116/0.1684, allocations: 0.9007 MB / 0.9649 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1686, allocations: 131.2 kB / 0.965 GB, free: 4.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1686, allocations: 64.08 kB / 0.9651 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1686, allocations: 7.938 kB / 0.9651 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1688, allocations: 217.9 kB / 0.9653 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.1688, allocations: 0 / 0.9653 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.001456/0.1703, allocations: 0.714 MB / 0.966 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1703, allocations: 55.41 kB / 0.9661 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1706, allocations: 434.5 kB / 0.9665 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1706, allocations: 29.7 kB / 0.9665 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1708, allocations: 307.1 kB / 0.9668 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.1709, allocations: 107.1 kB / 0.9669 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.1709, allocations: 87.64 kB / 0.967 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002455/0.1712, allocations: 0.5351 MB / 0.9675 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.1713, allocations: 40.72 kB / 0.9675 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.1714, allocations: 119.6 kB / 0.9677 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1715, allocations: 176.8 kB / 0.9678 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1715, allocations: 8 kB / 0.9678 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004388/0.172, allocations: 317.2 kB / 0.9681 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.172, allocations: 8 kB / 0.9681 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.172, allocations: 0 / 0.9681 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.1723, allocations: 91.64 kB / 0.9682 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1724, allocations: 71.91 kB / 0.9683 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.1736, allocations: 2.091 MB / 0.9703 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1737, allocations: 12 kB / 0.9704 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.1738, allocations: 11.98 kB / 0.9704 GB, free: 15.12 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.000281/0.174, allocations: 184.5 kB / 0.9705 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.1741, allocations: 59.67 kB / 0.9706 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.1745, allocations: 275 kB / 0.9709 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1745, allocations: 0 / 0.9709 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1745, allocations: 7.984 kB / 0.9709 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1745, allocations: 0 / 0.9709 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.1753, allocations: 0.674 MB / 0.9715 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1753, allocations: 0 / 0.9715 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.1755, allocations: 63.91 kB / 0.9716 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.1757, allocations: 83.64 kB / 0.9717 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1757, allocations: 11.98 kB / 0.9717 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008604/0.1766, allocations: 1.784 MB / 0.9734 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1766, allocations: 3.984 kB / 0.9734 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.177, allocations: 472.6 kB / 0.9739 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1772, allocations: 71.67 kB / 0.9739 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1772, allocations: 8 kB / 0.974 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1774, allocations: 12.03 kB / 0.974 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1774, allocations: 23.95 kB / 0.974 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1774, allocations: 15.98 kB / 0.974 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001636/0.1776, allocations: 267 kB / 0.9743 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.1776, allocations: 0 / 0.9743 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004077/0.178, allocations: 127.9 kB / 0.9744 GB, free: 10.81 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.001008/0.179, allocations: 416.7 kB / 0.9748 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.1794, allocations: 356.9 kB / 0.9751 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1794, allocations: 4.062 kB / 0.9751 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1796, allocations: 265.9 kB / 0.9754 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.1803, allocations: 253 kB / 0.9756 GB, free: 9.652 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1817, allocations: 0.8458 MB / 0.9764 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.977e-05/0.1818, allocations: 137 kB / 0.9766 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.182, allocations: 68.34 kB / 0.9766 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.1823, allocations: 242 kB / 0.9769 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of SimCode: time 8.01e-07/0.1823, allocations: 0 / 0.9769 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of Templates: time 0.0147/0.197, allocations: 10.51 MB / 0.9871 GB, free: 14.04 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.753142007626593]