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.001308/0.001308, allocations: 80.81 kB / 20.75 MB, free: 3.73 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.001506/0.001506, allocations: 161 kB / 24.17 MB, free: 320 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.9773/0.9773, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.184e-06/2.184e-06, allocations: 3.984 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.247e-05, allocations: 2.312 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004693/0.004706, allocations: 5.056 MB / 0.7649 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1333/0.1381, allocations: 146.1 MB / 0.9076 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007762/0.1388, allocations: 23.81 kB / 0.9076 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.1394, allocations: 202.1 kB / 0.9078 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1408, allocations: 0.6056 MB / 0.9084 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.1425, allocations: 0.8802 MB / 0.9093 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1437, allocations: 1.537 MB / 0.9108 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.1443, allocations: 426.8 kB / 0.9112 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.1452, allocations: 0.8186 MB / 0.912 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1456, allocations: 402.8 kB / 0.9124 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.1458, allocations: 116 kB / 0.9125 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006553/0.1464, allocations: 499.2 kB / 0.9129 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.1466, allocations: 314.9 kB / 0.9132 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.147, allocations: 402.9 kB / 0.9136 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1483, allocations: 1.284 MB / 0.9149 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1483, allocations: 0 / 0.9149 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1483, allocations: 0 / 0.9149 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.1483, allocations: 0 / 0.9149 GB, free: 7.625 MB / 0.8698 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.001669/0.15, allocations: 1.438 MB / 0.9163 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.15, allocations: 8.031 kB / 0.9163 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1513, allocations: 304.2 kB / 0.9166 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.1521, allocations: 0.6056 MB / 0.9172 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.1522, allocations: 74.12 kB / 0.9172 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1523, allocations: 96 kB / 0.9173 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.1533, allocations: 0.8953 MB / 0.9182 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1533, allocations: 0 / 0.9182 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.1534, allocations: 36 kB / 0.9182 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1534, allocations: 28 kB / 0.9183 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.1542, allocations: 0.5908 MB / 0.9189 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1566, allocations: 1.706 MB / 0.9205 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.1572, allocations: 434.5 kB / 0.9209 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1574, allocations: 154.8 kB / 0.9211 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.1575, allocations: 32.92 kB / 0.9211 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.1579, allocations: 467.3 kB / 0.9216 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 2.795e-06/0.1579, allocations: 0 / 0.9216 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.001247/0.1592, allocations: 0.5889 MB / 0.9221 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1593, allocations: 200.9 kB / 0.9223 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.1597, allocations: 0.5211 MB / 0.9228 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.1598, allocations: 49.7 kB / 0.9229 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.16, allocations: 346.5 kB / 0.9232 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.1602, allocations: 313.3 kB / 0.9235 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.1604, allocations: 178.5 kB / 0.9237 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1605, allocations: 398.6 kB / 0.9241 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1607, allocations: 96.77 kB / 0.9242 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.1609, allocations: 331.6 kB / 0.9245 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.1614, allocations: 349.1 kB / 0.9248 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1614, allocations: 0 / 0.9248 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008083/0.1622, allocations: 487 kB / 0.9253 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1622, allocations: 8 kB / 0.9253 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1622, allocations: 0 / 0.9253 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.1627, allocations: 132.7 kB / 0.9254 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.1632, allocations: 183.8 kB / 0.9256 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.1643, allocations: 1.305 MB / 0.9268 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1647, allocations: 87.55 kB / 0.9269 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.1647, allocations: 27.97 kB / 0.927 GB, free: 10.76 MB / 0.8855 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.0002175/0.1649, allocations: 183.3 kB / 0.9271 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.1651, allocations: 87.91 kB / 0.9272 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1661, allocations: 0.6188 MB / 0.9278 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.1661, allocations: 16 kB / 0.9278 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1661, allocations: 0 / 0.9278 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1661, allocations: 7.969 kB / 0.9278 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.1677, allocations: 1.144 MB / 0.929 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1677, allocations: 0 / 0.929 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.1682, allocations: 151.8 kB / 0.9291 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/0.1685, allocations: 104.8 kB / 0.9292 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.1686, allocations: 23.97 kB / 0.9292 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000996/0.1696, allocations: 1.336 MB / 0.9305 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1696, allocations: 4.031 kB / 0.9305 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1706, allocations: 0.7358 MB / 0.9313 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.1708, allocations: 147.1 kB / 0.9314 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.1709, allocations: 24 kB / 0.9314 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.1712, allocations: 44 kB / 0.9315 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1713, allocations: 68.86 kB / 0.9315 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.1714, allocations: 27.97 kB / 0.9316 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002481/0.1716, allocations: 255.4 kB / 0.9318 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 4 kB / 0.9318 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006506/0.1723, allocations: 351 kB / 0.9321 GB, free: 5.273 MB / 0.8855 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.001659/0.1739, allocations: 0.77 MB / 0.9329 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000725/0.1747, allocations: 0.5292 MB / 0.9334 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.1747, allocations: 4 kB / 0.9334 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.1751, allocations: 391.1 kB / 0.9338 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.1759, allocations: 317.6 kB / 0.9341 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.1786, allocations: 1.69 MB / 0.9357 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.1787, allocations: 199 kB / 0.9359 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004735/0.1792, allocations: 199.2 kB / 0.9361 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/0.1798, allocations: 315 kB / 0.9364 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of SimCode: time 8.91e-07/0.1798, allocations: 4 kB / 0.9364 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of Templates: time 0.02395/0.2038, allocations: 17.29 MB / 0.9533 GB, free: 132 kB / 0.9011 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.435840426944196]