Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009163/0.0009163, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008839/0.0008839, allocations: 169 kB / 23.27 MB, free: 1.223 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.8979/0.8979, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.287/2.287, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.983e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005033/0.005053, allocations: 4.918 MB / 0.8945 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.1402, allocations: 143.9 MB / 1.035 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008952/0.1411, allocations: 23.81 kB / 1.035 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.1417, allocations: 198.2 kB / 1.035 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1431, allocations: 0.6017 MB / 1.036 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.1445, allocations: 0.8763 MB / 1.037 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.1455, allocations: 1.513 MB / 1.038 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/0.146, allocations: 402.3 kB / 1.039 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.1467, allocations: 0.8029 MB / 1.039 GB, free: 15.94 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005939/0.1473, allocations: 390.8 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1474, allocations: 116 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.148, allocations: 0.4914 MB / 1.04 GB, free: 14.95 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1482, allocations: 299 kB / 1.041 GB, free: 14.66 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.1484, allocations: 394.9 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.1497, allocations: 1.257 MB / 1.042 GB, free: 13.01 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1497, allocations: 0 / 1.042 GB, free: 13.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1497, allocations: 4 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1497, allocations: 4 kB / 1.042 GB, free: 13 MB / 1.01 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.001405/0.1511, allocations: 1.55 MB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1512, allocations: 12.62 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007261/0.1519, allocations: 339.5 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.1526, allocations: 0.7188 MB / 1.045 GB, free: 10.32 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.1526, allocations: 74.12 kB / 1.045 GB, free: 10.24 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.1527, allocations: 92 kB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.1534, allocations: 0.8929 MB / 1.046 GB, free: 9.164 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1534, allocations: 4 kB / 1.046 GB, free: 9.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.1534, allocations: 39.98 kB / 1.046 GB, free: 9.121 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1535, allocations: 20 kB / 1.046 GB, free: 9.102 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.1541, allocations: 0.7 MB / 1.047 GB, free: 8.398 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1564, allocations: 2.22 MB / 1.049 GB, free: 6.125 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.1569, allocations: 479.3 kB / 1.049 GB, free: 5.648 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1571, allocations: 152.6 kB / 1.049 GB, free: 5.496 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.1572, allocations: 68.73 kB / 1.049 GB, free: 5.426 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000381/0.1575, allocations: 470.7 kB / 1.05 GB, free: 4.922 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.144e-06/0.1575, allocations: 0 / 1.05 GB, free: 4.922 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001192/0.1587, allocations: 0.7845 MB / 1.051 GB, free: 4.125 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1588, allocations: 196.9 kB / 1.051 GB, free: 3.891 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.1592, allocations: 0.5773 MB / 1.051 GB, free: 3.301 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.1592, allocations: 45.7 kB / 1.051 GB, free: 3.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1594, allocations: 475.8 kB / 1.052 GB, free: 2.777 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.1596, allocations: 305.4 kB / 1.052 GB, free: 2.477 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1597, allocations: 192.1 kB / 1.052 GB, free: 2.281 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1599, allocations: 0.574 MB / 1.053 GB, free: 1.695 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.16, allocations: 109.9 kB / 1.053 GB, free: 1.586 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1602, allocations: 353.7 kB / 1.053 GB, free: 1.191 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1606, allocations: 355 kB / 1.054 GB, free: 0.832 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1606, allocations: 3.984 kB / 1.054 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0007625/0.1614, allocations: 0.6216 MB / 1.054 GB, free: 200 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1614, allocations: 7.984 kB / 1.054 GB, free: 192 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1614, allocations: 4 kB / 1.054 GB, free: 188 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.1618, allocations: 123.5 kB / 1.054 GB, free: 60 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4029/0.5647, allocations: 197.8 kB / 1.055 GB, free: 65.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.5659, allocations: 1.87 MB / 1.056 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.5665, allocations: 77.23 kB / 1.056 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.5666, allocations: 37.33 kB / 1.057 GB, free: 63.39 MB / 1.01 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.0003898/0.567, allocations: 216.8 kB / 1.057 GB, free: 63.22 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.5671, allocations: 119.4 kB / 1.057 GB, free: 63.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.5682, allocations: 0.7868 MB / 1.058 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5682, allocations: 14.72 kB / 1.058 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.5682, allocations: 3.812 kB / 1.058 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5682, allocations: 3.234 kB / 1.058 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.5698, allocations: 1.469 MB / 1.059 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5698, allocations: 0 / 1.059 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.5701, allocations: 163.5 kB / 1.059 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.5704, allocations: 106.6 kB / 1.059 GB, free: 62.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.5704, allocations: 26.98 kB / 1.059 GB, free: 62.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007942/0.5712, allocations: 1.886 MB / 1.061 GB, free: 61.06 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5712, allocations: 3.719 kB / 1.061 GB, free: 61.06 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.5722, allocations: 0.9602 MB / 1.062 GB, free: 60.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.5724, allocations: 196.5 kB / 1.062 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.5724, allocations: 24.5 kB / 1.062 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.5727, allocations: 37.14 kB / 1.062 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.5728, allocations: 82.86 kB / 1.062 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.5728, allocations: 31.45 kB / 1.062 GB, free: 60.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002177/0.573, allocations: 368 kB / 1.063 GB, free: 60.63 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.573, allocations: 0 / 1.063 GB, free: 60.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006831/0.5737, allocations: 349 kB / 1.063 GB, free: 60.61 MB / 1.01 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 (100): * Single equations (assignments): 89 * 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.001118/0.5748, allocations: 0.6301 MB / 1.064 GB, free: 60.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.5754, allocations: 0.6273 MB / 1.064 GB, free: 60.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5754, allocations: 0 / 1.064 GB, free: 60.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.5758, allocations: 458.2 kB / 1.065 GB, free: 60.08 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.5764, allocations: 327.8 kB / 1.065 GB, free: 60.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.5785, allocations: 1.61 MB / 1.067 GB, free: 59.33 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.5786, allocations: 198.6 kB / 1.067 GB, free: 59.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.579, allocations: 191.2 kB / 1.067 GB, free: 59.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.5795, allocations: 370.7 kB / 1.067 GB, free: 59.15 MB / 1.01 GB Notification: Performance of SimCode: time 6.72e-07/0.5795, allocations: 0.75 kB / 1.067 GB, free: 59.15 MB / 1.01 GB Notification: Performance of Templates: time 0.01898/0.5985, allocations: 17.03 MB / 1.084 GB, free: 57.64 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.127696078736335]