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.001573/0.001573, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001509/0.001509, allocations: 185 kB / 24.09 MB, free: 416 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.9154/0.9154, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.713e-06/1.713e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.602e-05, allocations: 2.312 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1416/0.1416, allocations: 147.8 MB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009523/0.1511, allocations: 7.362 MB / 0.9635 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.1524, allocations: 43.69 kB / 0.9636 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008952/0.1533, allocations: 349 kB / 0.9639 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.156, allocations: 1.216 MB / 0.9651 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.1581, allocations: 1.184 MB / 0.9662 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.1606, allocations: 2.46 MB / 0.9686 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.1624, allocations: 1.019 MB / 0.9696 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.1647, allocations: 1.363 MB / 0.971 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/0.1656, allocations: 0.6309 MB / 0.9716 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.1659, allocations: 148 kB / 0.9717 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1673, allocations: 0.7603 MB / 0.9725 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.1676, allocations: 450.5 kB / 0.9729 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005795/0.1682, allocations: 0.5221 MB / 0.9734 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.171, allocations: 1.716 MB / 0.9751 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.171, allocations: 0 / 0.9751 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.543e-06/0.171, allocations: 0 / 0.9751 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.171, allocations: 0 / 0.9751 GB, free: 9.883 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.002296/0.1733, allocations: 1.972 MB / 0.977 GB, free: 7.859 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1733, allocations: 8.031 kB / 0.977 GB, free: 7.852 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.1746, allocations: 491 kB / 0.9775 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/0.1756, allocations: 0.9596 MB / 0.9784 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.1756, allocations: 86.23 kB / 0.9785 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1757, allocations: 124 kB / 0.9786 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1768, allocations: 1.153 MB / 0.9797 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.1768, allocations: 0 / 0.9797 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.1769, allocations: 47.98 kB / 0.9798 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.1769, allocations: 46.16 kB / 0.9798 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.1777, allocations: 0.7644 MB / 0.9806 GB, free: 3.984 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.003312/0.181, allocations: 2.848 MB / 0.9834 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.1817, allocations: 0.5627 MB / 0.9839 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.1819, allocations: 203.1 kB / 0.9841 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.1819, allocations: 52.78 kB / 0.9841 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.1824, allocations: 0.6264 MB / 0.9848 GB, free: 15.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 4.017e-06/0.1824, allocations: 3.984 kB / 0.9848 GB, free: 15.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.001505/0.1839, allocations: 0.9131 MB / 0.9857 GB, free: 14.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.184, allocations: 200.9 kB / 0.9858 GB, free: 14.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.1846, allocations: 0.7371 MB / 0.9866 GB, free: 13.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.1846, allocations: 57.7 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.1849, allocations: 0.582 MB / 0.9872 GB, free: 12.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.1851, allocations: 384.7 kB / 0.9876 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.1853, allocations: 224.4 kB / 0.9878 GB, free: 12.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1855, allocations: 0.5236 MB / 0.9883 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1857, allocations: 142.4 kB / 0.9884 GB, free: 11.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.186, allocations: 447.2 kB / 0.9888 GB, free: 11.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.1867, allocations: 482 kB / 0.9893 GB, free: 10.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1867, allocations: 4 kB / 0.9893 GB, free: 10.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009351/0.1877, allocations: 0.7769 MB / 0.9901 GB, free: 9.883 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1877, allocations: 4.281 kB / 0.9901 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1877, allocations: 8 kB / 0.9901 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.1881, allocations: 127.6 kB / 0.9902 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.1885, allocations: 239.6 kB / 0.9904 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.1897, allocations: 1.871 MB / 0.9923 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.1902, allocations: 99.69 kB / 0.9924 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.1902, allocations: 39.97 kB / 0.9924 GB, free: 7.375 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.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.0003005/0.1905, allocations: 234.9 kB / 0.9926 GB, free: 7.133 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1907, allocations: 151.3 kB / 0.9928 GB, free: 6.984 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1918, allocations: 0.9077 MB / 0.9936 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.1918, allocations: 12 kB / 0.9937 GB, free: 6.051 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.1918, allocations: 0 / 0.9937 GB, free: 6.051 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1918, allocations: 7.969 kB / 0.9937 GB, free: 6.043 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.1938, allocations: 1.726 MB / 0.9953 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1938, allocations: 0 / 0.9953 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.1943, allocations: 207.7 kB / 0.9955 GB, free: 4.062 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.1946, allocations: 119.5 kB / 0.9957 GB, free: 3.941 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.1947, allocations: 35.92 kB / 0.9957 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.1962, allocations: 1.895 MB / 0.9975 GB, free: 1.887 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1962, allocations: 0 / 0.9975 GB, free: 1.887 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1978, allocations: 1.121 MB / 0.9986 GB, free: 0.7461 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.1982, allocations: 238.9 kB / 0.9989 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.1984, allocations: 31.95 kB / 0.9989 GB, free: 492 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.1988, allocations: 43.97 kB / 0.9989 GB, free: 448 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.1989, allocations: 80.83 kB / 0.999 GB, free: 368 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.199, allocations: 39.92 kB / 0.9991 GB, free: 328 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004243/0.1994, allocations: 458.7 kB / 0.9995 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1994, allocations: 0 / 0.9995 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001069/0.2005, allocations: 451 kB / 0.9999 GB, free: 15.44 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.001438/0.2019, allocations: 0.6391 MB / 1.001 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.203, allocations: 0.7087 MB / 1.001 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.203, allocations: 3.938 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.2036, allocations: 0.5009 MB / 1.002 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.205, allocations: 0.5054 MB / 1.002 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.2089, allocations: 2.161 MB / 1.004 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2091, allocations: 252.9 kB / 1.005 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007406/0.2098, allocations: 245.3 kB / 1.005 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/0.2108, allocations: 0.4901 MB / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of SimCode: time 2.144e-06/0.2108, allocations: 0 / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of Templates: time 0.04804/0.2588, allocations: 23.74 MB / 1.028 GB, free: 2.777 MB / 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.925798133946955]