Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.00142/0.00142, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001542/0.001542, allocations: 161 kB / 24.16 MB, free: 328 kB / 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.9454/0.9454, allocations: 177.2 MB / 204.6 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.591e-05, allocations: 3.688 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1292/0.1292, allocations: 149.9 MB / 0.9065 GB, free: 264 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009053/0.1383, allocations: 7.518 MB / 0.9138 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.1395, allocations: 43.69 kB / 0.9139 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.1403, allocations: 329.1 kB / 0.9142 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.1427, allocations: 1.196 MB / 0.9153 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1448, allocations: 1.165 MB / 0.9165 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003041/0.1478, allocations: 2.464 MB / 0.9189 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.1498, allocations: 1.052 MB / 0.9199 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.1518, allocations: 1.347 MB / 0.9212 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.1526, allocations: 0.6153 MB / 0.9218 GB, free: 496 kB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.1528, allocations: 148 kB / 0.922 GB, free: 348 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1541, allocations: 0.7914 MB / 0.9227 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.1544, allocations: 442.5 kB / 0.9232 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.1549, allocations: 0.5299 MB / 0.9237 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.1572, allocations: 1.716 MB / 0.9254 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1572, allocations: 0 / 0.9254 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1572, allocations: 4 kB / 0.9254 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.939e-05/0.1573, allocations: 0 / 0.9254 GB, free: 12.86 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002183/0.1595, allocations: 1.796 MB / 0.9271 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1595, allocations: 12.03 kB / 0.9271 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.1609, allocations: 459.8 kB / 0.9276 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.162, allocations: 0.788 MB / 0.9283 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.162, allocations: 90.22 kB / 0.9284 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1621, allocations: 124 kB / 0.9285 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1632, allocations: 1.14 MB / 0.9297 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.1633, allocations: 0 / 0.9297 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.1633, allocations: 47.98 kB / 0.9297 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/0.1634, allocations: 38.17 kB / 0.9297 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.1641, allocations: 0.6512 MB / 0.9304 GB, free: 7.48 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.167, allocations: 2.16 MB / 0.9325 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.1676, allocations: 0.5053 MB / 0.933 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1678, allocations: 176.3 kB / 0.9331 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/0.1678, allocations: 28.98 kB / 0.9332 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.1683, allocations: 0.6075 MB / 0.9338 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 2.044e-06/0.1683, allocations: 0 / 0.9338 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.001203/0.1695, allocations: 0.6747 MB / 0.9344 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.1696, allocations: 204.9 kB / 0.9346 GB, free: 2.961 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.1701, allocations: 0.677 MB / 0.9353 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.1701, allocations: 57.69 kB / 0.9353 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.1703, allocations: 427.2 kB / 0.9357 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.1705, allocations: 384.7 kB / 0.9361 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.1707, allocations: 210.7 kB / 0.9363 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.1708, allocations: 353.8 kB / 0.9366 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.1709, allocations: 113.4 kB / 0.9368 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1712, allocations: 384.2 kB / 0.9371 GB, free: 292 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.1716, allocations: 455.2 kB / 0.9376 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1716, allocations: 0 / 0.9376 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007474/0.1724, allocations: 0.5748 MB / 0.9381 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1724, allocations: 11.94 kB / 0.9381 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1724, allocations: 0 / 0.9381 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.1728, allocations: 124.7 kB / 0.9382 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.1733, allocations: 263.6 kB / 0.9385 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.1744, allocations: 1.316 MB / 0.9398 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.1748, allocations: 103.4 kB / 0.9399 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.1748, allocations: 31.97 kB / 0.9399 GB, free: 13.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.0002346/0.175, allocations: 187.3 kB / 0.9401 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1752, allocations: 107.8 kB / 0.9402 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009161/0.1761, allocations: 0.7077 MB / 0.9409 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1761, allocations: 12 kB / 0.9409 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1761, allocations: 0 / 0.9409 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.1761, allocations: 7.969 kB / 0.9409 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.1778, allocations: 1.331 MB / 0.9422 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1778, allocations: 3.938 kB / 0.9422 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.1783, allocations: 246.5 kB / 0.9424 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.1787, allocations: 112.8 kB / 0.9425 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.1787, allocations: 27.97 kB / 0.9426 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008755/0.1796, allocations: 1.328 MB / 0.9439 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1796, allocations: 0 / 0.9439 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.1805, allocations: 0.8452 MB / 0.9447 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.1808, allocations: 186.9 kB / 0.9449 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.1809, allocations: 31.94 kB / 0.9449 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.1812, allocations: 47.91 kB / 0.945 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1813, allocations: 80.83 kB / 0.945 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.1814, allocations: 35.97 kB / 0.9451 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002537/0.1816, allocations: 324.5 kB / 0.9454 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1816, allocations: 4 kB / 0.9454 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007742/0.1824, allocations: 447 kB / 0.9458 GB, free: 7.07 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (121): * Single equations (assignments): 110 * 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.001552/0.1839, allocations: 0.7652 MB / 0.9466 GB, free: 6.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000806/0.1847, allocations: 0.609 MB / 0.9471 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.1848, allocations: 8.562 kB / 0.9472 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.1852, allocations: 422.9 kB / 0.9476 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1863, allocations: 0.5026 MB / 0.948 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.189, allocations: 2.103 MB / 0.9501 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.1892, allocations: 248.9 kB / 0.9503 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006332/0.1899, allocations: 245.4 kB / 0.9506 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000789/0.1906, allocations: 433 kB / 0.951 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of SimCode: time 1.503e-06/0.1906, allocations: 0 / 0.951 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of Templates: time 0.0303/0.2209, allocations: 23.96 MB / 0.9744 GB, free: 10.5 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.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.001380273140967]