Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.000961/0.000961, 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.001087/0.001087, allocations: 181 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.939/0.939, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.843/1.843, allocations: 377.9 MB / 0.6239 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.309e-05, allocations: 3.562 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005302/0.005325, allocations: 5.037 MB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.1336, allocations: 143.9 MB / 0.9574 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.1346, allocations: 27.81 kB / 0.9575 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.1351, allocations: 206.1 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1368, allocations: 0.6055 MB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.1385, allocations: 0.8841 MB / 0.9591 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.1403, allocations: 1.536 MB / 0.9606 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006515/0.1409, allocations: 414.8 kB / 0.961 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.1421, allocations: 0.8147 MB / 0.9618 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.1426, allocations: 406.7 kB / 0.9622 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.1428, allocations: 116 kB / 0.9623 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.1437, allocations: 495.4 kB / 0.9628 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.1439, allocations: 310.9 kB / 0.9631 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.1442, allocations: 402.9 kB / 0.9635 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1457, allocations: 1.288 MB / 0.9647 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1457, allocations: 0 / 0.9647 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1457, allocations: 0 / 0.9647 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.1458, allocations: 4 kB / 0.9647 GB, free: 4.543 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001882/0.1477, allocations: 1.586 MB / 0.9663 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1477, allocations: 12.02 kB / 0.9663 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008604/0.1486, allocations: 339.5 kB / 0.9666 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1497, allocations: 0.7266 MB / 0.9673 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.1497, allocations: 74.12 kB / 0.9674 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.1498, allocations: 95.98 kB / 0.9675 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.1507, allocations: 0.9086 MB / 0.9684 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1507, allocations: 3.984 kB / 0.9684 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.1508, allocations: 36 kB / 0.9684 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1508, allocations: 24 kB / 0.9684 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.1515, allocations: 0.7001 MB / 0.9691 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.154, allocations: 2.27 MB / 0.9713 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.1547, allocations: 497.1 kB / 0.9718 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.1548, allocations: 170.5 kB / 0.972 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.879e-05/0.1549, allocations: 56.81 kB / 0.972 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.1553, allocations: 486.7 kB / 0.9725 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 3.156e-06/0.1553, allocations: 0 / 0.9725 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001309/0.1566, allocations: 0.7963 MB / 0.9733 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.1567, allocations: 204.8 kB / 0.9734 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.1574, allocations: 0.5812 MB / 0.974 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.1574, allocations: 45.7 kB / 0.9741 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.1577, allocations: 483.9 kB / 0.9745 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1578, allocations: 313.3 kB / 0.9748 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.158, allocations: 192.2 kB / 0.975 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1582, allocations: 0.5818 MB / 0.9756 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1583, allocations: 117.9 kB / 0.9757 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1586, allocations: 361.7 kB / 0.976 GB, free: 8.512 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.1589, allocations: 363 kB / 0.9764 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1589, allocations: 0 / 0.9764 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0009152/0.1598, allocations: 0.6411 MB / 0.977 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1599, allocations: 8 kB / 0.977 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1599, allocations: 0 / 0.977 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.1603, allocations: 127.6 kB / 0.9771 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1607, allocations: 191.7 kB / 0.9773 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.162, allocations: 1.871 MB / 0.9791 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.1623, allocations: 79.53 kB / 0.9792 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.1624, allocations: 35.97 kB / 0.9792 GB, free: 5.055 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (113): * Single equations (assignments): 112 * 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.0002322/0.1626, allocations: 219 kB / 0.9795 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1627, allocations: 123.4 kB / 0.9796 GB, free: 4.711 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/0.1637, allocations: 0.8188 MB / 0.9804 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.1637, allocations: 16 kB / 0.9804 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1637, allocations: 0 / 0.9804 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1637, allocations: 7.922 kB / 0.9804 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.1657, allocations: 1.499 MB / 0.9819 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1657, allocations: 0 / 0.9819 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.1661, allocations: 163.7 kB / 0.982 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.1664, allocations: 119.5 kB / 0.9821 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.1664, allocations: 27.92 kB / 0.9822 GB, free: 2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.1675, allocations: 1.887 MB / 0.984 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1675, allocations: 4.031 kB / 0.984 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1685, allocations: 0.9798 MB / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.1688, allocations: 199 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.1688, allocations: 20 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1691, allocations: 48.89 kB / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.1692, allocations: 80.84 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.1692, allocations: 31.92 kB / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002454/0.1695, allocations: 378.9 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1695, allocations: 0 / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007287/0.1702, allocations: 351.1 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (104): * Single equations (assignments): 93 * 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.001253/0.1714, allocations: 0.6244 MB / 0.9866 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007918/0.1722, allocations: 0.6405 MB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1722, allocations: 0 / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.1726, allocations: 468.9 kB / 0.9877 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.1737, allocations: 326 kB / 0.988 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.1762, allocations: 1.708 MB / 0.9897 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.1764, allocations: 199 kB / 0.9899 GB, free: 10.06 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004731/0.1769, allocations: 195.2 kB / 0.9901 GB, free: 9.863 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.1774, allocations: 377.9 kB / 0.9904 GB, free: 9.492 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/0.1774, allocations: 0 / 0.9904 GB, free: 9.492 MB / 0.948 GB Notification: Performance of Templates: time 0.02155/0.199, allocations: 17.26 MB / 1.007 GB, free: 8.566 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.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.7699528289958835]