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.001268/0.001268, allocations: 80.3 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.001315/0.001315, allocations: 170 kB / 24.86 MB, free: 9.27 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.9215/0.9215, 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.898/1.898, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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 2.305e-06/2.305e-06, allocations: 1.203 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.902e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005633/0.005662, allocations: 5.033 MB / 0.8177 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1289/0.1346, allocations: 143.9 MB / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008461/0.1355, allocations: 23.81 kB / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.136, allocations: 202.1 kB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.1377, allocations: 0.6134 MB / 0.959 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1391, allocations: 0.8763 MB / 0.9599 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1404, allocations: 1.544 MB / 0.9614 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.1409, allocations: 418.8 kB / 0.9618 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.142, allocations: 0.8146 MB / 0.9626 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.1424, allocations: 406.8 kB / 0.963 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1425, allocations: 116 kB / 0.9631 GB, free: 7 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.1431, allocations: 495.3 kB / 0.9635 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1433, allocations: 310.9 kB / 0.9638 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.1435, allocations: 399 kB / 0.9642 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1446, allocations: 1.288 MB / 0.9655 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1446, allocations: 4 kB / 0.9655 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1446, allocations: 0 / 0.9655 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1446, allocations: 0 / 0.9655 GB, free: 4.523 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.00146/0.1461, allocations: 1.59 MB / 0.967 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1461, allocations: 8.031 kB / 0.967 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.1469, allocations: 335.5 kB / 0.9674 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.1476, allocations: 0.7266 MB / 0.9681 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.1476, allocations: 82.09 kB / 0.9682 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.1477, allocations: 96 kB / 0.9682 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.1487, allocations: 0.9046 MB / 0.9691 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1487, allocations: 7.938 kB / 0.9691 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.1488, allocations: 39.94 kB / 0.9692 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1488, allocations: 24 kB / 0.9692 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/0.1497, allocations: 0.7001 MB / 0.9699 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.1517, allocations: 2.267 MB / 0.9721 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.1523, allocations: 497.2 kB / 0.9726 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1525, allocations: 166.6 kB / 0.9727 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.1526, allocations: 32.97 kB / 0.9728 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.1529, allocations: 486.7 kB / 0.9732 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 2.064e-06/0.1529, allocations: 0 / 0.9732 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001261/0.1542, allocations: 0.7962 MB / 0.974 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.1543, allocations: 200.9 kB / 0.9742 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.1546, allocations: 0.589 MB / 0.9748 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.1547, allocations: 49.7 kB / 0.9748 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.1549, allocations: 475.9 kB / 0.9753 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.1551, allocations: 313.3 kB / 0.9756 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.1552, allocations: 200.1 kB / 0.9758 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004197/0.1557, allocations: 0.5779 MB / 0.9763 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1558, allocations: 113.9 kB / 0.9764 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1561, allocations: 361.7 kB / 0.9768 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1564, allocations: 359 kB / 0.9771 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1564, allocations: 7.938 kB / 0.9771 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008189/0.1573, allocations: 0.6411 MB / 0.9778 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1573, allocations: 4 kB / 0.9778 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1573, allocations: 0 / 0.9778 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.1577, allocations: 127.6 kB / 0.9779 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1581, allocations: 195.7 kB / 0.9781 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.1592, allocations: 1.878 MB / 0.9799 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.1595, allocations: 79.53 kB / 0.98 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.1595, allocations: 31.97 kB / 0.98 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.0001859/0.1597, allocations: 215.1 kB / 0.9802 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1598, allocations: 119.4 kB / 0.9803 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.1608, allocations: 0.8188 MB / 0.9811 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1609, allocations: 19.98 kB / 0.9811 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1609, allocations: 0 / 0.9811 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1609, allocations: 3.984 kB / 0.9811 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1624, allocations: 1.511 MB / 0.9826 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1624, allocations: 4 kB / 0.9826 GB, free: 2.301 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.1627, allocations: 155.8 kB / 0.9828 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.1633, allocations: 107.6 kB / 0.9829 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.1633, allocations: 35.91 kB / 0.9829 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000987/0.1643, allocations: 1.883 MB / 0.9848 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1643, allocations: 4.031 kB / 0.9848 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1654, allocations: 0.9837 MB / 0.9857 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.1656, allocations: 199.2 kB / 0.9859 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.1656, allocations: 24 kB / 0.9859 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.1659, allocations: 43.98 kB / 0.986 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.166, allocations: 76.92 kB / 0.986 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.166, allocations: 39.91 kB / 0.9861 GB, free: 14.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002133/0.1662, allocations: 374.8 kB / 0.9864 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1662, allocations: 0 / 0.9864 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005256/0.1667, allocations: 355.1 kB / 0.9868 GB, free: 13.9 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.001127/0.1679, allocations: 0.6166 MB / 0.9874 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006919/0.1686, allocations: 0.6404 MB / 0.988 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.1686, allocations: 4 kB / 0.988 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.169, allocations: 464.9 kB / 0.9885 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.0006915/0.1696, allocations: 332.4 kB / 0.9888 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.172, allocations: 1.693 MB / 0.9904 GB, free: 10.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.1722, allocations: 203 kB / 0.9906 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.1725, allocations: 211 kB / 0.9908 GB, free: 9.855 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.1731, allocations: 369.9 kB / 0.9912 GB, free: 9.492 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.1731, allocations: 0 / 0.9912 GB, free: 9.492 MB / 0.948 GB Notification: Performance of Templates: time 0.01943/0.1925, allocations: 17.5 MB / 1.008 GB, free: 8.309 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.873173425439745]