Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0009662/0.0009662, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009523/0.0009523, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9429/0.9429, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.893/1.893, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.281e-05, allocations: 2.859 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004944/0.004967, allocations: 4.921 MB / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.1449, allocations: 143.9 MB / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.1456, allocations: 23.81 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.1461, allocations: 202.1 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1474, allocations: 0.5978 MB / 0.9589 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.1488, allocations: 0.8763 MB / 0.9597 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1499, allocations: 1.513 MB / 0.9612 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.1504, allocations: 406.2 kB / 0.9616 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.1511, allocations: 0.7991 MB / 0.9624 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1514, allocations: 390.8 kB / 0.9627 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.1516, allocations: 116 kB / 0.9629 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.1522, allocations: 499.3 kB / 0.9633 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.1524, allocations: 302.9 kB / 0.9636 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.1527, allocations: 395 kB / 0.964 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1538, allocations: 1.269 MB / 0.9652 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1538, allocations: 0 / 0.9652 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1538, allocations: 4 kB / 0.9652 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.1538, allocations: 0 / 0.9652 GB, free: 4.785 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00151/0.1553, allocations: 1.562 MB / 0.9668 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1553, allocations: 12.03 kB / 0.9668 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.1562, allocations: 335.5 kB / 0.9671 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.1569, allocations: 0.715 MB / 0.9678 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.1569, allocations: 70.12 kB / 0.9679 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.157, allocations: 99.98 kB / 0.968 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.1577, allocations: 0.8968 MB / 0.9688 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1578, allocations: 0 / 0.9688 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.1578, allocations: 36 kB / 0.9689 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.1578, allocations: 24 kB / 0.9689 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.1585, allocations: 0.6845 MB / 0.9696 GB, free: 196 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1606, allocations: 2.239 MB / 0.9717 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.1612, allocations: 473 kB / 0.9722 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1614, allocations: 160.3 kB / 0.9724 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1614, allocations: 28.92 kB / 0.9724 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003944/0.1618, allocations: 482.7 kB / 0.9728 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 1.873e-06/0.1618, allocations: 4 kB / 0.9728 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001313/0.1631, allocations: 0.7766 MB / 0.9736 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.1632, allocations: 196.9 kB / 0.9738 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.1636, allocations: 0.5734 MB / 0.9744 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.1636, allocations: 49.7 kB / 0.9744 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.1639, allocations: 479.8 kB / 0.9749 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.164, allocations: 301.4 kB / 0.9751 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.1642, allocations: 200.1 kB / 0.9753 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1644, allocations: 0.5701 MB / 0.9759 GB, free: 9.488 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1645, allocations: 109.9 kB / 0.976 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.1648, allocations: 365.6 kB / 0.9763 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1652, allocations: 347 kB / 0.9767 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1652, allocations: 64 / 0.9767 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0008389/0.166, allocations: 0.6294 MB / 0.9773 GB, free: 7.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.166, allocations: 4 kB / 0.9773 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.166, allocations: 0 / 0.9773 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.1665, allocations: 135.6 kB / 0.9774 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.1668, allocations: 183.8 kB / 0.9776 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.168, allocations: 1.873 MB / 0.9794 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.1683, allocations: 87.52 kB / 0.9795 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.1683, allocations: 31.97 kB / 0.9795 GB, free: 5.547 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 (110): * Single equations (assignments): 109 * 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.000206/0.1686, allocations: 215 kB / 0.9797 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1687, allocations: 111.5 kB / 0.9799 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1697, allocations: 0.7993 MB / 0.9806 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1697, allocations: 8 kB / 0.9806 GB, free: 4.398 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1697, allocations: 3.938 kB / 0.9806 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1697, allocations: 7.969 kB / 0.9807 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.1713, allocations: 1.48 MB / 0.9821 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1713, allocations: 4 kB / 0.9821 GB, free: 2.852 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.1716, allocations: 151.8 kB / 0.9822 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.172, allocations: 119.6 kB / 0.9824 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.172, allocations: 31.92 kB / 0.9824 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.173, allocations: 1.883 MB / 0.9842 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.173, allocations: 0 / 0.9842 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1741, allocations: 0.9721 MB / 0.9852 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.1743, allocations: 199 kB / 0.9854 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.1744, allocations: 27.95 kB / 0.9854 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.1747, allocations: 39.97 kB / 0.9854 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.1748, allocations: 68.86 kB / 0.9855 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.1748, allocations: 35.91 kB / 0.9855 GB, free: 15.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002351/0.175, allocations: 370.9 kB / 0.9859 GB, free: 14.83 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.175, allocations: 4.031 kB / 0.9859 GB, free: 14.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005991/0.1756, allocations: 351.1 kB / 0.9862 GB, free: 14.48 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 (101): * Single equations (assignments): 90 * 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.001192/0.1768, allocations: 0.625 MB / 0.9868 GB, free: 14.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007079/0.1775, allocations: 0.621 MB / 0.9874 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1775, allocations: 0 / 0.9874 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.1779, allocations: 465.2 kB / 0.9879 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.1786, allocations: 316.4 kB / 0.9882 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1806, allocations: 1.618 MB / 0.9898 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.1808, allocations: 202.9 kB / 0.99 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.1811, allocations: 191 kB / 0.9901 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.1817, allocations: 373.9 kB / 0.9905 GB, free: 10.19 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/0.1817, allocations: 0 / 0.9905 GB, free: 10.19 MB / 0.948 GB Notification: Performance of Templates: time 0.01888/0.2005, allocations: 17.32 MB / 1.007 GB, free: 9.188 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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.781883829738945]