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.000921/0.000921, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0008837/0.0008837, allocations: 161 kB / 23.82 MB, free: 0.7461 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.957/0.957, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.869/1.869, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.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.182e-06/1.182e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.987e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1286/0.1286, allocations: 150.7 MB / 0.9587 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008612/0.1373, allocations: 7.419 MB / 0.9659 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006483/0.1379, allocations: 47.62 kB / 0.966 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.1387, allocations: 353.1 kB / 0.9663 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.1406, allocations: 1.204 MB / 0.9675 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.1422, allocations: 1.173 MB / 0.9686 GB, free: 380 kB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.144, allocations: 2.476 MB / 0.971 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.1448, allocations: 1.019 MB / 0.972 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1459, allocations: 1.231 MB / 0.9732 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008346/0.1467, allocations: 0.6786 MB / 0.9739 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1468, allocations: 156 kB / 0.974 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009544/0.1478, allocations: 0.8576 MB / 0.9749 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.1481, allocations: 462.5 kB / 0.9753 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.1484, allocations: 0.5493 MB / 0.9759 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.15, allocations: 1.763 MB / 0.9776 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.15, allocations: 0 / 0.9776 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.092e-06/0.15, allocations: 0 / 0.9776 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.15, allocations: 0 / 0.9776 GB, free: 7.156 MB / 0.9323 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.001956/0.1519, allocations: 1.972 MB / 0.9795 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.152, allocations: 12.03 kB / 0.9795 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.1533, allocations: 0.4951 MB / 0.98 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1543, allocations: 0.9851 MB / 0.981 GB, free: 3.609 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.1543, allocations: 86.23 kB / 0.981 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1545, allocations: 120 kB / 0.9812 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1557, allocations: 1.296 MB / 0.9824 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1557, allocations: 3.938 kB / 0.9824 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.1558, allocations: 48 kB / 0.9825 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.1558, allocations: 42.17 kB / 0.9825 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1569, allocations: 0.8983 MB / 0.9834 GB, free: 0.9336 MB / 0.9323 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.003259/0.1601, allocations: 3.036 MB / 0.9864 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.161, allocations: 0.6369 MB / 0.987 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.1613, allocations: 223.7 kB / 0.9872 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.1614, allocations: 44.91 kB / 0.9872 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006287/0.162, allocations: 0.6617 MB / 0.9879 GB, free: 12.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 2.995e-06/0.162, allocations: 0 / 0.9879 GB, free: 12.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.001875/0.1639, allocations: 1.015 MB / 0.9889 GB, free: 11.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.164, allocations: 200.9 kB / 0.9891 GB, free: 10.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.1646, allocations: 0.7688 MB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.1647, allocations: 53.7 kB / 0.9899 GB, free: 10.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.165, allocations: 0.5939 MB / 0.9904 GB, free: 9.477 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.1652, allocations: 372.8 kB / 0.9908 GB, free: 9.109 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.1654, allocations: 228.5 kB / 0.991 GB, free: 8.875 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1656, allocations: 0.5199 MB / 0.9915 GB, free: 8.348 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1659, allocations: 178.5 kB / 0.9917 GB, free: 8.176 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.1663, allocations: 487.2 kB / 0.9922 GB, free: 7.621 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.1669, allocations: 0.545 MB / 0.9927 GB, free: 7.035 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1669, allocations: 0 / 0.9927 GB, free: 7.035 MB / 0.948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001179/0.1681, allocations: 0.859 MB / 0.9935 GB, free: 6.164 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1681, allocations: 12.28 kB / 0.9935 GB, free: 6.152 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1681, allocations: 0 / 0.9935 GB, free: 6.152 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.1686, allocations: 127.6 kB / 0.9937 GB, free: 6.023 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.1691, allocations: 239.7 kB / 0.9939 GB, free: 5.789 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.1704, allocations: 1.916 MB / 0.9958 GB, free: 3.742 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.1708, allocations: 104.8 kB / 0.9959 GB, free: 3.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.1708, allocations: 43.97 kB / 0.9959 GB, free: 3.598 MB / 0.948 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002398/0.171, allocations: 227 kB / 0.9961 GB, free: 3.363 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1712, allocations: 155.2 kB / 0.9963 GB, free: 3.211 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.1725, allocations: 0.9781 MB / 0.9972 GB, free: 2.223 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1725, allocations: 15.98 kB / 0.9972 GB, free: 2.207 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1725, allocations: 0 / 0.9972 GB, free: 2.207 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1725, allocations: 7.969 kB / 0.9972 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.1751, allocations: 1.972 MB / 0.9992 GB, free: 172 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1751, allocations: 0 / 0.9992 GB, free: 172 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.1756, allocations: 211.7 kB / 0.9994 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.1759, allocations: 119.6 kB / 0.9995 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.176, allocations: 27.98 kB / 0.9995 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.1771, allocations: 1.922 MB / 1.001 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1771, allocations: 3.984 kB / 1.001 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.1785, allocations: 1.231 MB / 1.003 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.1788, allocations: 254.8 kB / 1.003 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.1789, allocations: 35.92 kB / 1.003 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.1793, allocations: 56.08 kB / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.1794, allocations: 92.83 kB / 1.003 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.1795, allocations: 39.97 kB / 1.003 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004226/0.1799, allocations: 498.9 kB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1799, allocations: 4 kB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007529/0.1806, allocations: 447 kB / 1.004 GB, free: 11.11 MB / 0.9636 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.001269/0.1819, allocations: 0.6378 MB / 1.005 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.1829, allocations: 0.7952 MB / 1.005 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1829, allocations: 0 / 1.005 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.1836, allocations: 0.5366 MB / 1.006 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1847, allocations: 0.5148 MB / 1.006 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.1875, allocations: 2.192 MB / 1.009 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.1877, allocations: 252.9 kB / 1.009 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00056/0.1882, allocations: 301.3 kB / 1.009 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.1885, allocations: 136.4 kB / 1.009 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.1885, allocations: 0 / 1.009 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of Templates: time 0.02552/0.214, allocations: 22.1 MB / 1.031 GB, free: 180 kB / 0.9792 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 -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: 5.943157799076289]