Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00135/0.00135, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001626/0.001626, allocations: 181 kB / 23.35 MB, free: 1.137 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.9835/0.9835, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.566/2.566, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.549e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00524/0.005255, allocations: 5.09 MB / 0.8436 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1412/0.1464, allocations: 146.1 MB / 0.9863 GB, free: 6.418 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.1472, allocations: 23.81 kB / 0.9863 GB, free: 6.395 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.1478, allocations: 214 kB / 0.9865 GB, free: 6.184 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1491, allocations: 0.5822 MB / 0.987 GB, free: 5.598 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1505, allocations: 0.8684 MB / 0.9879 GB, free: 4.727 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.1516, allocations: 1.529 MB / 0.9894 GB, free: 3.191 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.1521, allocations: 426.7 kB / 0.9898 GB, free: 2.746 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007502/0.1528, allocations: 0.8147 MB / 0.9906 GB, free: 1.93 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.1532, allocations: 394.8 kB / 0.991 GB, free: 1.543 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1533, allocations: 120 kB / 0.9911 GB, free: 1.426 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006125/0.1539, allocations: 0.5188 MB / 0.9916 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1541, allocations: 306.9 kB / 0.9919 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.1545, allocations: 402.9 kB / 0.9923 GB, free: 216 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1556, allocations: 1.284 MB / 0.9935 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1556, allocations: 0 / 0.9935 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1556, allocations: 3.938 kB / 0.9935 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1556, allocations: 0 / 0.9935 GB, free: 14.92 MB / 0.9636 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.001314/0.1569, allocations: 1.438 MB / 0.9949 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.63e-05/0.1569, allocations: 12.62 kB / 0.9949 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/0.1577, allocations: 296.2 kB / 0.9952 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.1583, allocations: 0.6017 MB / 0.9958 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.1584, allocations: 74.12 kB / 0.9959 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.1584, allocations: 92 kB / 0.996 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006611/0.1591, allocations: 0.8992 MB / 0.9968 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.1591, allocations: 3.984 kB / 0.9968 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.1592, allocations: 36 kB / 0.9969 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1592, allocations: 24 kB / 0.9969 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.1598, allocations: 0.5947 MB / 0.9975 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.1617, allocations: 1.699 MB / 0.9991 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.1623, allocations: 444.7 kB / 0.9996 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1624, allocations: 147.8 kB / 0.9997 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.1625, allocations: 28.97 kB / 0.9997 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.1629, allocations: 483.3 kB / 1 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=93): time 2.024e-06/0.1629, allocations: 0 / 1 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=93): time 0.00105/0.1639, allocations: 0.5811 MB / 1.001 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.164, allocations: 200.9 kB / 1.001 GB, free: 7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.1643, allocations: 0.525 MB / 1.001 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.1644, allocations: 49.7 kB / 1.002 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1645, allocations: 346.5 kB / 1.002 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.1647, allocations: 309.3 kB / 1.002 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1648, allocations: 178.5 kB / 1.002 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1649, allocations: 394.6 kB / 1.003 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1651, allocations: 100.8 kB / 1.003 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1653, allocations: 323.6 kB / 1.003 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1656, allocations: 353.1 kB / 1.003 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1656, allocations: 3.938 kB / 1.003 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006324/0.1663, allocations: 487 kB / 1.004 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1663, allocations: 4 kB / 1.004 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1663, allocations: 4 kB / 1.004 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.1667, allocations: 116.7 kB / 1.004 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.1671, allocations: 216 kB / 1.004 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009379/0.168, allocations: 1.309 MB / 1.006 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1683, allocations: 75.53 kB / 1.006 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.1683, allocations: 23.98 kB / 1.006 GB, free: 2.051 MB / 0.9636 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.0001688/0.1685, allocations: 183.1 kB / 1.006 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.1687, allocations: 83.92 kB / 1.006 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.1695, allocations: 0.6306 MB / 1.006 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1695, allocations: 8 kB / 1.006 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1695, allocations: 3.984 kB / 1.006 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1695, allocations: 7.984 kB / 1.006 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1707, allocations: 1.136 MB / 1.008 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1707, allocations: 0 / 1.008 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.1711, allocations: 168.4 kB / 1.008 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.1714, allocations: 116.6 kB / 1.008 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.1714, allocations: 23.98 kB / 1.008 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008367/0.1722, allocations: 1.325 MB / 1.009 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1722, allocations: 0 / 1.009 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.1731, allocations: 0.7359 MB / 1.01 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.1733, allocations: 151.1 kB / 1.01 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.1733, allocations: 27.94 kB / 1.01 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1736, allocations: 46.05 kB / 1.01 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.1736, allocations: 84.8 kB / 1.01 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.1737, allocations: 23.98 kB / 1.01 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001902/0.1739, allocations: 259.4 kB / 1.01 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1739, allocations: 0 / 1.01 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004575/0.1743, allocations: 347.1 kB / 1.011 GB, free: 12.55 MB / 0.9792 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 (103): * Single equations (assignments): 92 * 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.00139/0.1757, allocations: 0.751 MB / 1.012 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.1763, allocations: 0.5292 MB / 1.012 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.1763, allocations: 8 kB / 1.012 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.1766, allocations: 387.1 kB / 1.012 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.1772, allocations: 326.1 kB / 1.013 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.1793, allocations: 1.682 MB / 1.014 GB, free: 9.094 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.1794, allocations: 207 kB / 1.015 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003592/0.1798, allocations: 183.2 kB / 1.015 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.1803, allocations: 319 kB / 1.015 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.1803, allocations: 0 / 1.015 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of Templates: time 0.01892/0.1992, allocations: 17.34 MB / 1.032 GB, free: 7.352 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.24526675324887]