Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009008/0.0009008, 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.0009281/0.0009281, allocations: 167.8 kB / 24.87 MB, free: 9.207 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.786/1.786, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.852e-05, allocations: 5.125 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1265/0.1265, allocations: 147.7 MB / 0.9326 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.009686/0.1362, allocations: 7.354 MB / 0.9398 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.1374, allocations: 43.69 kB / 0.9398 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.1383, allocations: 349 kB / 0.9401 GB, free: 224 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.1409, allocations: 1.219 MB / 0.9413 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.1435, allocations: 1.184 MB / 0.9425 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.1462, allocations: 2.456 MB / 0.9449 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.1475, allocations: 1.016 MB / 0.9459 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.1497, allocations: 1.348 MB / 0.9472 GB, free: 8.973 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.1505, allocations: 0.6309 MB / 0.9478 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.1507, allocations: 148 kB / 0.948 GB, free: 8.195 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1521, allocations: 0.7603 MB / 0.9487 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.1524, allocations: 446.5 kB / 0.9491 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0009406/0.1534, allocations: 0.526 MB / 0.9496 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.1559, allocations: 1.72 MB / 0.9513 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1559, allocations: 0 / 0.9513 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1559, allocations: 0 / 0.9513 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.1559, allocations: 0 / 0.9513 GB, free: 4.742 MB / 0.9011 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.002189/0.1581, allocations: 1.964 MB / 0.9532 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1582, allocations: 8.031 kB / 0.9532 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.1596, allocations: 491 kB / 0.9537 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.1607, allocations: 0.9596 MB / 0.9546 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.1608, allocations: 94.11 kB / 0.9547 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.1609, allocations: 116 kB / 0.9548 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.162, allocations: 1.149 MB / 0.956 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.162, allocations: 0 / 0.956 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.1621, allocations: 48 kB / 0.956 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.1622, allocations: 38.17 kB / 0.956 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.163, allocations: 0.7761 MB / 0.9568 GB, free: 14.85 MB / 0.9167 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.003467/0.1664, allocations: 2.84 MB / 0.9596 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.1672, allocations: 0.5697 MB / 0.9601 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1674, allocations: 203.1 kB / 0.9603 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.1675, allocations: 37.06 kB / 0.9604 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.168, allocations: 0.6302 MB / 0.961 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 2.515e-06/0.168, allocations: 0 / 0.961 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.001684/0.1697, allocations: 0.9092 MB / 0.9619 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.1698, allocations: 200.9 kB / 0.9621 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.1704, allocations: 0.741 MB / 0.9628 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.1705, allocations: 49.7 kB / 0.9628 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007381/0.1712, allocations: 0.5937 MB / 0.9634 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.1715, allocations: 384.6 kB / 0.9638 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.1717, allocations: 224.4 kB / 0.964 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1718, allocations: 0.5315 MB / 0.9645 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.172, allocations: 130.5 kB / 0.9646 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.1723, allocations: 447.2 kB / 0.9651 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1728, allocations: 486 kB / 0.9655 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1728, allocations: 0 / 0.9655 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001058/0.1739, allocations: 0.7731 MB / 0.9663 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1739, allocations: 8 kB / 0.9663 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1739, allocations: 0 / 0.9663 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/0.1744, allocations: 131.8 kB / 0.9664 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.1749, allocations: 235.6 kB / 0.9666 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1762, allocations: 1.875 MB / 0.9685 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.1767, allocations: 103.4 kB / 0.9686 GB, free: 2.293 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.1768, allocations: 39.97 kB / 0.9686 GB, free: 2.254 MB / 0.9167 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.0003206/0.1771, allocations: 227 kB / 0.9688 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.1773, allocations: 155.3 kB / 0.969 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.1785, allocations: 0.9115 MB / 0.9699 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1785, allocations: 12 kB / 0.9699 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1785, allocations: 0 / 0.9699 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1785, allocations: 7.969 kB / 0.9699 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.1809, allocations: 1.722 MB / 0.9716 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1809, allocations: 0 / 0.9716 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.1814, allocations: 211.7 kB / 0.9718 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/0.1817, allocations: 115.6 kB / 0.9719 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.1818, allocations: 31.92 kB / 0.9719 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.1829, allocations: 1.899 MB / 0.9738 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1829, allocations: 0 / 0.9738 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.1843, allocations: 1.118 MB / 0.9748 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.1847, allocations: 238.9 kB / 0.9751 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.1848, allocations: 27.95 kB / 0.9751 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.1851, allocations: 45.66 kB / 0.9751 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1853, allocations: 88.83 kB / 0.9752 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.1853, allocations: 35.91 kB / 0.9753 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003327/0.1856, allocations: 458.7 kB / 0.9757 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1856, allocations: 4 kB / 0.9757 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008789/0.1865, allocations: 447 kB / 0.9761 GB, free: 10.33 MB / 0.9323 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.001309/0.1878, allocations: 0.6393 MB / 0.9768 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.189, allocations: 0.7126 MB / 0.9775 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1891, allocations: 4 kB / 0.9775 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.1895, allocations: 0.493 MB / 0.9779 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.1907, allocations: 0.5017 MB / 0.9784 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.1937, allocations: 2.161 MB / 0.9805 GB, free: 5.922 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.1938, allocations: 252.9 kB / 0.9808 GB, free: 5.645 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006275/0.1945, allocations: 245.3 kB / 0.981 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00082/0.1953, allocations: 0.4901 MB / 0.9815 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of SimCode: time 1.493e-06/0.1953, allocations: 0 / 0.9815 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.03019/0.2255, allocations: 24.08 MB / 1.005 GB, free: 13.3 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.985910478979349]