Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009228/0.0009228, 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.001575/0.001575, allocations: 169 kB / 24.28 MB, free: 272 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.9652/0.9652, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.737/1.737, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.433e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005959/0.005984, allocations: 5.125 MB / 0.7921 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.136, allocations: 146.4 MB / 0.935 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.1367, allocations: 19.88 kB / 0.935 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1373, allocations: 214 kB / 0.9352 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.1385, allocations: 0.5979 MB / 0.9358 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1398, allocations: 0.8725 MB / 0.9367 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009933/0.1408, allocations: 1.552 MB / 0.9382 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.1414, allocations: 418.8 kB / 0.9386 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.1419, allocations: 0.7835 MB / 0.9394 GB, free: 388 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.1423, allocations: 426.8 kB / 0.9398 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1424, allocations: 128 kB / 0.9399 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.143, allocations: 0.4954 MB / 0.9404 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.1432, allocations: 326.9 kB / 0.9407 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.1436, allocations: 418.9 kB / 0.9411 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1448, allocations: 1.323 MB / 0.9424 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1448, allocations: 0 / 0.9424 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1448, allocations: 0 / 0.9424 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.1448, allocations: 0 / 0.9424 GB, free: 13.28 MB / 0.9011 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.001532/0.1463, allocations: 1.587 MB / 0.9439 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1463, allocations: 8.031 kB / 0.9439 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.1473, allocations: 339.5 kB / 0.9443 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.1481, allocations: 0.7479 MB / 0.945 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1481, allocations: 78.12 kB / 0.9451 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.1482, allocations: 92 kB / 0.9451 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.1492, allocations: 1.04 MB / 0.9462 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1492, allocations: 0 / 0.9462 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.1493, allocations: 44 kB / 0.9462 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1493, allocations: 24 kB / 0.9462 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.1501, allocations: 0.8075 MB / 0.947 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.1528, allocations: 2.429 MB / 0.9494 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00084/0.1536, allocations: 0.5517 MB / 0.9499 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.1539, allocations: 192.3 kB / 0.9501 GB, free: 5.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.1539, allocations: 36.91 kB / 0.9501 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.1544, allocations: 0.5027 MB / 0.9506 GB, free: 4.512 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=93): time 1.933e-06/0.1544, allocations: 0 / 0.9506 GB, free: 4.512 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.001524/0.1559, allocations: 0.89 MB / 0.9515 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.156, allocations: 204.9 kB / 0.9517 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.1565, allocations: 0.601 MB / 0.9523 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.1565, allocations: 49.7 kB / 0.9523 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1567, allocations: 476 kB / 0.9528 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1569, allocations: 313.4 kB / 0.9531 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.1571, allocations: 192.2 kB / 0.9533 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1572, allocations: 0.5703 MB / 0.9538 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.1575, allocations: 153.9 kB / 0.954 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.1578, allocations: 397.8 kB / 0.9544 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.1583, allocations: 423.1 kB / 0.9548 GB, free: 124 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1583, allocations: 4 kB / 0.9548 GB, free: 120 kB / 0.9011 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.000995/0.1593, allocations: 0.7113 MB / 0.9555 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1593, allocations: 4 kB / 0.9555 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1593, allocations: 4 kB / 0.9555 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/0.1598, allocations: 131.6 kB / 0.9556 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.1602, allocations: 191.7 kB / 0.9558 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1614, allocations: 1.913 MB / 0.9576 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.1617, allocations: 76.94 kB / 0.9577 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.1617, allocations: 43.97 kB / 0.9578 GB, free: 12.91 MB / 0.9167 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0001942/0.1619, allocations: 219 kB / 0.958 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1621, allocations: 123.4 kB / 0.9581 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.1632, allocations: 0.8813 MB / 0.9589 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1632, allocations: 12 kB / 0.959 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1632, allocations: 4 kB / 0.959 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1633, allocations: 3.984 kB / 0.959 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.1651, allocations: 1.706 MB / 0.9606 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1651, allocations: 0 / 0.9606 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.1654, allocations: 163.7 kB / 0.9608 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.1657, allocations: 115.5 kB / 0.9609 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.1658, allocations: 35.97 kB / 0.9609 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.1669, allocations: 1.918 MB / 0.9628 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1669, allocations: 144 / 0.9628 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.1683, allocations: 1.093 MB / 0.9639 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.1686, allocations: 211.1 kB / 0.9641 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.1686, allocations: 19.94 kB / 0.9641 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.1689, allocations: 47.97 kB / 0.9641 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.169, allocations: 76.84 kB / 0.9642 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.1691, allocations: 39.97 kB / 0.9642 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000321/0.1694, allocations: 411 kB / 0.9646 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1694, allocations: 0 / 0.9646 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006243/0.17, allocations: 355.1 kB / 0.965 GB, free: 5.27 MB / 0.9167 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.001313/0.1713, allocations: 0.6261 MB / 0.9656 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009315/0.1723, allocations: 0.6991 MB / 0.9663 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1723, allocations: 0 / 0.9663 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004938/0.1728, allocations: 0.4894 MB / 0.9667 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.1735, allocations: 333.2 kB / 0.9671 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1759, allocations: 1.728 MB / 0.9688 GB, free: 1.508 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1761, allocations: 207 kB / 0.9689 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000449/0.1765, allocations: 263 kB / 0.9692 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1767, allocations: 116.4 kB / 0.9693 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.1767, allocations: 0 / 0.9693 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of Templates: time 0.01748/0.1942, allocations: 16.15 MB / 0.9851 GB, free: 1.043 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.530785368056968]