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.001006/0.001006, allocations: 80.39 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.001115/0.001115, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.8977/0.8977, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.928/1.928, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.264e-06/2.264e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.888e-05, allocations: 6.109 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1442/0.1442, allocations: 147.8 MB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1545, allocations: 7.366 MB / 0.9643 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1557, allocations: 43.69 kB / 0.9643 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.1566, allocations: 349.1 kB / 0.9646 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.1591, allocations: 1.216 MB / 0.9658 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.1612, allocations: 1.18 MB / 0.967 GB, free: 3 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1635, allocations: 2.467 MB / 0.9694 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.1648, allocations: 1.015 MB / 0.9704 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.167, allocations: 1.36 MB / 0.9717 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.1678, allocations: 0.6309 MB / 0.9723 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1679, allocations: 148 kB / 0.9725 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1692, allocations: 0.7564 MB / 0.9732 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.1695, allocations: 458.5 kB / 0.9736 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.1699, allocations: 0.5182 MB / 0.9742 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1719, allocations: 1.713 MB / 0.9758 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1719, allocations: 0 / 0.9758 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1719, allocations: 0 / 0.9758 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.1719, allocations: 0 / 0.9758 GB, free: 9.922 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.002064/0.174, allocations: 1.972 MB / 0.9778 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.174, allocations: 11.97 kB / 0.9778 GB, free: 7.887 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1753, allocations: 487 kB / 0.9782 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1764, allocations: 0.9675 MB / 0.9792 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.1764, allocations: 86.17 kB / 0.9793 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1765, allocations: 120 kB / 0.9794 GB, free: 6.203 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1776, allocations: 1.149 MB / 0.9805 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.1776, allocations: 4 kB / 0.9805 GB, free: 4.898 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.1777, allocations: 48 kB / 0.9805 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.1777, allocations: 42.17 kB / 0.9806 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.1786, allocations: 0.7682 MB / 0.9813 GB, free: 4.02 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.002998/0.1816, allocations: 2.837 MB / 0.9841 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.1823, allocations: 0.5719 MB / 0.9847 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.1828, allocations: 199.1 kB / 0.9848 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.1829, allocations: 37.02 kB / 0.9849 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.1834, allocations: 0.6263 MB / 0.9855 GB, free: 15.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 2.575e-06/0.1834, allocations: 0 / 0.9855 GB, free: 15.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.001576/0.185, allocations: 0.9131 MB / 0.9864 GB, free: 14.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/0.185, allocations: 204.9 kB / 0.9866 GB, free: 14.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.1856, allocations: 0.7371 MB / 0.9873 GB, free: 13.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.1856, allocations: 57.7 kB / 0.9874 GB, free: 13.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.186, allocations: 0.5859 MB / 0.9879 GB, free: 13.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.1862, allocations: 380.8 kB / 0.9883 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1864, allocations: 224.4 kB / 0.9885 GB, free: 12.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1865, allocations: 0.5237 MB / 0.989 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1867, allocations: 142.4 kB / 0.9892 GB, free: 11.76 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.187, allocations: 447.2 kB / 0.9896 GB, free: 11.24 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.1875, allocations: 482 kB / 0.99 GB, free: 10.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1875, allocations: 0 / 0.99 GB, free: 10.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009951/0.1885, allocations: 0.7811 MB / 0.9908 GB, free: 9.938 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1885, allocations: 4 kB / 0.9908 GB, free: 9.934 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1885, allocations: 4 kB / 0.9908 GB, free: 9.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.1889, allocations: 127.6 kB / 0.9909 GB, free: 9.801 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.1894, allocations: 235.6 kB / 0.9912 GB, free: 9.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.1909, allocations: 1.881 MB / 0.993 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.1914, allocations: 91.47 kB / 0.9931 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.1915, allocations: 52.03 kB / 0.9931 GB, free: 7.426 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.000262/0.1917, allocations: 226.9 kB / 0.9933 GB, free: 7.191 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.1919, allocations: 155.3 kB / 0.9935 GB, free: 7.039 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.193, allocations: 0.9116 MB / 0.9944 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.193, allocations: 12 kB / 0.9944 GB, free: 6.102 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.193, allocations: 0 / 0.9944 GB, free: 6.102 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.1931, allocations: 7.969 kB / 0.9944 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.195, allocations: 1.726 MB / 0.9961 GB, free: 4.316 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.195, allocations: 3.938 kB / 0.9961 GB, free: 4.312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.1955, allocations: 207.7 kB / 0.9963 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.1958, allocations: 115.6 kB / 0.9964 GB, free: 3.992 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.1959, allocations: 35.92 kB / 0.9964 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.197, allocations: 1.895 MB / 0.9983 GB, free: 1.938 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.197, allocations: 0 / 0.9983 GB, free: 1.938 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1986, allocations: 1.121 MB / 0.9994 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.1989, allocations: 238.9 kB / 0.9996 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.199, allocations: 27.95 kB / 0.9996 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.1994, allocations: 46.16 kB / 0.9997 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1995, allocations: 84.83 kB / 0.9998 GB, free: 420 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.1995, allocations: 35.92 kB / 0.9998 GB, free: 384 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003183/0.1998, allocations: 458.7 kB / 1 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1998, allocations: 0 / 1 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008516/0.2007, allocations: 455 kB / 1.001 GB, free: 15.49 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.001299/0.202, allocations: 0.6318 MB / 1.001 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.2028, allocations: 0.7127 MB / 1.002 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2028, allocations: 0 / 1.002 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.2033, allocations: 0.5008 MB / 1.002 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.2044, allocations: 0.5107 MB / 1.003 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.2071, allocations: 2.158 MB / 1.005 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2073, allocations: 252.8 kB / 1.005 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000576/0.2078, allocations: 241.3 kB / 1.006 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.2089, allocations: 0.4979 MB / 1.006 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of SimCode: time 1.273e-06/0.2089, allocations: 0 / 1.006 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of Templates: time 0.03127/0.2402, allocations: 24.08 MB / 1.03 GB, free: 2.477 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: 6.138697030954063]