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.001211/0.001211, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001308/0.001308, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9537/0.9537, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.927/1.927, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.735e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006476/0.006504, allocations: 5.151 MB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.1363, allocations: 146.6 MB / 0.9597 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008235/0.1371, allocations: 23.81 kB / 0.9598 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.1378, allocations: 210.1 kB / 0.96 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1394, allocations: 0.6017 MB / 0.9605 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.141, allocations: 0.8841 MB / 0.9614 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.1425, allocations: 1.536 MB / 0.9629 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.1433, allocations: 422.8 kB / 0.9633 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1444, allocations: 0.8185 MB / 0.9641 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.1449, allocations: 398.8 kB / 0.9645 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.145, allocations: 116 kB / 0.9646 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008987/0.1459, allocations: 499.3 kB / 0.9651 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.1461, allocations: 306.9 kB / 0.9654 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.1465, allocations: 399 kB / 0.9658 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.1481, allocations: 1.288 MB / 0.967 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1481, allocations: 8 kB / 0.967 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1481, allocations: 0 / 0.967 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.1481, allocations: 0 / 0.967 GB, free: 1.953 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.001769/0.1498, allocations: 1.575 MB / 0.9686 GB, free: 344 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1499, allocations: 8.031 kB / 0.9686 GB, free: 336 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008582/0.1507, allocations: 335.5 kB / 0.9689 GB, free: 0 / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.1516, allocations: 0.7499 MB / 0.9696 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.1516, allocations: 70.12 kB / 0.9697 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.1517, allocations: 96 kB / 0.9698 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1528, allocations: 0.9673 MB / 0.9707 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1529, allocations: 0 / 0.9707 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.1529, allocations: 44 kB / 0.9708 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1529, allocations: 27.94 kB / 0.9708 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.1538, allocations: 0.8075 MB / 0.9716 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.1564, allocations: 2.379 MB / 0.9739 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.1573, allocations: 0.5364 MB / 0.9744 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.1575, allocations: 203.7 kB / 0.9746 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/0.1576, allocations: 32.92 kB / 0.9747 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.1581, allocations: 0.5023 MB / 0.9751 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 2.584e-06/0.1581, allocations: 0 / 0.9751 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001593/0.1597, allocations: 0.8821 MB / 0.976 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/0.1598, allocations: 196.9 kB / 0.9762 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.1602, allocations: 0.5971 MB / 0.9768 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.1603, allocations: 53.7 kB / 0.9768 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.1607, allocations: 472 kB / 0.9773 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.1608, allocations: 309.4 kB / 0.9776 GB, free: 6.781 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.161, allocations: 192.2 kB / 0.9778 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1612, allocations: 0.5742 MB / 0.9783 GB, free: 6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1614, allocations: 149.8 kB / 0.9785 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1618, allocations: 397.8 kB / 0.9788 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.1623, allocations: 419.1 kB / 0.9792 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1623, allocations: 0 / 0.9792 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00101/0.1633, allocations: 0.7113 MB / 0.9799 GB, free: 4.266 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1633, allocations: 4 kB / 0.9799 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1633, allocations: 3.938 kB / 0.9799 GB, free: 4.258 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.1638, allocations: 131.6 kB / 0.9801 GB, free: 4.125 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1642, allocations: 191.8 kB / 0.9802 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.1656, allocations: 1.898 MB / 0.9821 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.1659, allocations: 86.25 kB / 0.9822 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.1659, allocations: 39.97 kB / 0.9822 GB, free: 1.785 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.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.0002247/0.1662, allocations: 223.2 kB / 0.9824 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1663, allocations: 127.4 kB / 0.9826 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.1674, allocations: 0.8696 MB / 0.9834 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1674, allocations: 16 kB / 0.9834 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1674, allocations: 0 / 0.9834 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1675, allocations: 3.984 kB / 0.9834 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1695, allocations: 1.686 MB / 0.9851 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1695, allocations: 4 kB / 0.9851 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.1699, allocations: 155.8 kB / 0.9852 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.1702, allocations: 119.5 kB / 0.9853 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.1703, allocations: 27.98 kB / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.1714, allocations: 1.918 MB / 0.9872 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1714, allocations: 0 / 0.9872 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1727, allocations: 1.093 MB / 0.9883 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.1729, allocations: 199 kB / 0.9885 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.173, allocations: 27.92 kB / 0.9885 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1732, allocations: 44 kB / 0.9886 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.1734, allocations: 72.86 kB / 0.9886 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.1734, allocations: 35.98 kB / 0.9887 GB, free: 10.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003134/0.1737, allocations: 399 kB / 0.989 GB, free: 10.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1737, allocations: 0 / 0.989 GB, free: 10.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006774/0.1744, allocations: 355.1 kB / 0.9894 GB, free: 10.21 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.00126/0.1756, allocations: 0.6272 MB / 0.99 GB, free: 9.754 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009763/0.1766, allocations: 0.703 MB / 0.9907 GB, free: 9.031 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1766, allocations: 0 / 0.9907 GB, free: 9.031 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.1773, allocations: 497 kB / 0.9912 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.1782, allocations: 327.1 kB / 0.9915 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.1812, allocations: 1.735 MB / 0.9932 GB, free: 6.449 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.1813, allocations: 199 kB / 0.9934 GB, free: 6.238 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005401/0.1819, allocations: 255 kB / 0.9936 GB, free: 5.984 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.1821, allocations: 112.5 kB / 0.9937 GB, free: 5.875 MB / 0.948 GB Notification: Performance of SimCode: time 1.502e-06/0.1821, allocations: 0 / 0.9937 GB, free: 5.875 MB / 0.948 GB Notification: Performance of Templates: time 0.02098/0.203, allocations: 16.9 MB / 1.01 GB, free: 5.27 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.826647611800581]