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.001226/0.001226, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001001/0.001001, allocations: 169 kB / 24.28 MB, free: 276 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 0.9872/0.9872, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.854/1.854, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.783e-06/1.783e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.995e-05, allocations: 3.438 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1502/0.1502, allocations: 159 MB / 0.9668 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.154, allocations: 3.556 MB / 0.9702 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.1543, allocations: 27.81 kB / 0.9703 GB, free: 15 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.1549, allocations: 274.3 kB / 0.9705 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.1562, allocations: 0.9559 MB / 0.9715 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.1567, allocations: 454.6 kB / 0.9719 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0009141/0.1577, allocations: 1.164 MB / 0.973 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.158, allocations: 288.7 kB / 0.9733 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.1586, allocations: 0.5842 MB / 0.9739 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.1592, allocations: 333.1 kB / 0.9742 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.1592, allocations: 40 kB / 0.9742 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.1599, allocations: 0.592 MB / 0.9748 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.16, allocations: 187.4 kB / 0.975 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1602, allocations: 187.5 kB / 0.9752 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.1609, allocations: 0.7086 MB / 0.9759 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1609, allocations: 0 / 0.9759 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1609, allocations: 0 / 0.9759 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1609, allocations: 0 / 0.9759 GB, free: 9.258 MB / 0.9323 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.00102/0.162, allocations: 0.9226 MB / 0.9768 GB, free: 8.297 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.162, allocations: 8.031 kB / 0.9768 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.1627, allocations: 191.3 kB / 0.977 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.1632, allocations: 453 kB / 0.9774 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.1632, allocations: 24.66 kB / 0.9774 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1633, allocations: 31.98 kB / 0.9774 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.1637, allocations: 362.2 kB / 0.9778 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1637, allocations: 4 kB / 0.9778 GB, free: 7.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.1637, allocations: 12 kB / 0.9778 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.1637, allocations: 8.656 kB / 0.9778 GB, free: 7.16 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.1639, allocations: 115.8 kB / 0.9779 GB, free: 7.047 MB / 0.9323 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.001124/0.1651, allocations: 0.9705 MB / 0.9789 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1653, allocations: 150.1 kB / 0.979 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.1654, allocations: 63.66 kB / 0.9791 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1654, allocations: 8 kB / 0.9791 GB, free: 5.805 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.1656, allocations: 230.2 kB / 0.9793 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.1656, allocations: 3.938 kB / 0.9793 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of matching and sorting (n=29): time 0.001551/0.1672, allocations: 0.8131 MB / 0.9801 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1672, allocations: 55.41 kB / 0.9802 GB, free: 4.613 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.1675, allocations: 458.6 kB / 0.9806 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1676, allocations: 33.7 kB / 0.9806 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1677, allocations: 291.3 kB / 0.9809 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.1678, allocations: 111 kB / 0.981 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.1679, allocations: 79.72 kB / 0.9811 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1681, allocations: 0.5351 MB / 0.9816 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1682, allocations: 60.7 kB / 0.9817 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1684, allocations: 135.7 kB / 0.9818 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1686, allocations: 200.4 kB / 0.982 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1686, allocations: 3.938 kB / 0.982 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005015/0.1691, allocations: 357.3 kB / 0.9823 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1691, allocations: 7.938 kB / 0.9823 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1691, allocations: 0 / 0.9823 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.1694, allocations: 87.73 kB / 0.9824 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1696, allocations: 71.84 kB / 0.9825 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1708, allocations: 2.133 MB / 0.9846 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1709, allocations: 8 kB / 0.9846 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.171, allocations: 19.98 kB / 0.9846 GB, free: 15.83 MB / 0.948 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.0001574/0.1711, allocations: 176.5 kB / 0.9848 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.1712, allocations: 51.72 kB / 0.9848 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.1717, allocations: 302.7 kB / 0.9851 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1717, allocations: 4 kB / 0.9851 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1717, allocations: 0 / 0.9851 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1717, allocations: 0 / 0.9851 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.1726, allocations: 0.7555 MB / 0.9858 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1726, allocations: 7.984 kB / 0.9859 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.1729, allocations: 63.91 kB / 0.9859 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.1732, allocations: 83.56 kB / 0.986 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1732, allocations: 15.94 kB / 0.986 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008947/0.1741, allocations: 1.811 MB / 0.9878 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1741, allocations: 0 / 0.9878 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.1747, allocations: 493.2 kB / 0.9883 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1748, allocations: 79.67 kB / 0.9883 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.1748, allocations: 15.94 kB / 0.9883 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.175, allocations: 8 kB / 0.9883 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.175, allocations: 23.89 kB / 0.9884 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1751, allocations: 15.98 kB / 0.9884 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000203/0.1753, allocations: 287.1 kB / 0.9887 GB, free: 11.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1753, allocations: 0 / 0.9887 GB, free: 11.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003489/0.1756, allocations: 143.9 kB / 0.9888 GB, free: 11.31 MB / 0.948 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.0008829/0.1765, allocations: 403 kB / 0.9892 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.177, allocations: 368.7 kB / 0.9895 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.177, allocations: 320 / 0.9895 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.1771, allocations: 277.9 kB / 0.9898 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.1778, allocations: 244.2 kB / 0.99 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1791, allocations: 0.8536 MB / 0.9909 GB, free: 9.262 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.067e-05/0.1792, allocations: 133.2 kB / 0.991 GB, free: 9.113 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.1794, allocations: 80.31 kB / 0.9911 GB, free: 9.035 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.1795, allocations: 40.48 kB / 0.9911 GB, free: 8.996 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/0.1795, allocations: 0 / 0.9911 GB, free: 8.996 MB / 0.948 GB Notification: Performance of Templates: time 0.01088/0.1903, allocations: 9.666 MB / 1.001 GB, free: 15.55 MB / 0.9636 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.472760513890535]