Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001328/0.001328, allocations: 81.86 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.001006/0.001006, allocations: 185 kB / 24.09 MB, free: 416 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.9354/0.9354, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.426 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.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.4e-05, allocations: 4.484 kB / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007165/0.007199, allocations: 4.735 MB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1443/0.1515, allocations: 143.8 MB / 0.957 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.1522, allocations: 23.81 kB / 0.9571 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.1527, allocations: 202.1 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.154, allocations: 0.5862 MB / 0.9578 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1553, allocations: 0.8607 MB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.1562, allocations: 1.455 MB / 0.9601 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.1566, allocations: 389.9 kB / 0.9605 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006504/0.1573, allocations: 0.7796 MB / 0.9612 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.1576, allocations: 378.8 kB / 0.9616 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1577, allocations: 108 kB / 0.9617 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.1583, allocations: 491.3 kB / 0.9622 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.1585, allocations: 299 kB / 0.9624 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.159, allocations: 379 kB / 0.9628 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.16, allocations: 1.238 MB / 0.964 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.16, allocations: 0 / 0.964 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.523e-06/0.16, allocations: 0 / 0.964 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.16, allocations: 0 / 0.964 GB, free: 5.258 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001391/0.1614, allocations: 1.519 MB / 0.9655 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1614, allocations: 8.031 kB / 0.9655 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007921/0.1622, allocations: 327.5 kB / 0.9658 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.1629, allocations: 0.7111 MB / 0.9665 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.1629, allocations: 66.12 kB / 0.9666 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.163, allocations: 95.98 kB / 0.9667 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.1637, allocations: 0.8926 MB / 0.9675 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1638, allocations: 0 / 0.9675 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.1638, allocations: 32 kB / 0.9676 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.1638, allocations: 20 kB / 0.9676 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006077/0.1644, allocations: 0.6806 MB / 0.9683 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.1668, allocations: 2.301 MB / 0.9705 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.1673, allocations: 447.7 kB / 0.9709 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1675, allocations: 153.5 kB / 0.9711 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.214e-05/0.1675, allocations: 52.41 kB / 0.9711 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.1679, allocations: 468.1 kB / 0.9716 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.456e-06/0.1679, allocations: 4 kB / 0.9716 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.001184/0.1691, allocations: 0.765 MB / 0.9723 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.1692, allocations: 204.8 kB / 0.9725 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.1695, allocations: 0.5656 MB / 0.9731 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.1696, allocations: 49.7 kB / 0.9731 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1698, allocations: 459.9 kB / 0.9736 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1699, allocations: 293.5 kB / 0.9738 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.1701, allocations: 188.1 kB / 0.974 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1703, allocations: 0.5663 MB / 0.9746 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1704, allocations: 109.9 kB / 0.9747 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.1707, allocations: 365.4 kB / 0.975 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.1711, allocations: 346.7 kB / 0.9754 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1711, allocations: 4 kB / 0.9754 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007724/0.1718, allocations: 0.6175 MB / 0.976 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1718, allocations: 8.125 kB / 0.976 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1719, allocations: 4 kB / 0.976 GB, free: 8.531 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/0.1723, allocations: 127.5 kB / 0.9761 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.1726, allocations: 175.8 kB / 0.9763 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.174, allocations: 1.875 MB / 0.9781 GB, free: 6.238 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.1742, allocations: 82.08 kB / 0.9782 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.1743, allocations: 35.97 kB / 0.9782 GB, free: 6.125 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.1744, allocations: 211.1 kB / 0.9784 GB, free: 5.91 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1745, allocations: 115.4 kB / 0.9785 GB, free: 5.797 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009371/0.1755, allocations: 0.7875 MB / 0.9793 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1755, allocations: 8 kB / 0.9793 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1755, allocations: 0 / 0.9793 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1755, allocations: 3.984 kB / 0.9793 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.1769, allocations: 1.456 MB / 0.9807 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1769, allocations: 0 / 0.9807 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1772, allocations: 139.8 kB / 0.9809 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.1775, allocations: 119.5 kB / 0.981 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.1776, allocations: 23.98 kB / 0.981 GB, free: 3.188 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009519/0.1785, allocations: 1.888 MB / 0.9828 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1785, allocations: 0 / 0.9828 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1796, allocations: 0.818 MB / 0.9836 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.1798, allocations: 191 kB / 0.9838 GB, free: 152 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.1798, allocations: 27.98 kB / 0.9838 GB, free: 124 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.18, allocations: 40.03 kB / 0.9839 GB, free: 84 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.1801, allocations: 72.81 kB / 0.9839 GB, free: 12 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.1802, allocations: 31.97 kB / 0.984 GB, free: 15.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002021/0.1804, allocations: 362.9 kB / 0.9843 GB, free: 15.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1804, allocations: 4 kB / 0.9843 GB, free: 15.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004946/0.1809, allocations: 335.1 kB / 0.9846 GB, free: 15.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.1819, allocations: 0.6246 MB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006271/0.1826, allocations: 0.6054 MB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1826, allocations: 8.25 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.1829, allocations: 452.9 kB / 0.9863 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.1835, allocations: 325.1 kB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1853, allocations: 1.517 MB / 0.9881 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.1855, allocations: 198.8 kB / 0.9883 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.1858, allocations: 186.8 kB / 0.9884 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.1863, allocations: 369.9 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of SimCode: time 6.32e-07/0.1863, allocations: 0 / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of Templates: time 0.0186/0.2049, allocations: 16.81 MB / 1.005 GB, free: 10.64 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.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.578923934139311]