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.001161/0.001161, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001889/0.001889, allocations: 169.3 kB / 24.28 MB, free: 280 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.9712/0.9712, allocations: 177.1 MB / 204.6 MB, free: 5.57 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.801/1.801, allocations: 359 MB / 0.6055 GB, free: 11 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.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.841e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1363/0.1364, allocations: 162 MB / 0.9453 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.009011/0.1454, allocations: 8.092 MB / 0.9532 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000981/0.1464, allocations: 43.62 kB / 0.9532 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.1473, allocations: 412.8 kB / 0.9536 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1499, allocations: 1.391 MB / 0.955 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.1519, allocations: 1.231 MB / 0.9562 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002225/0.1542, allocations: 2.472 MB / 0.9586 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1553, allocations: 1.012 MB / 0.9596 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.1565, allocations: 1.228 MB / 0.9608 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.1575, allocations: 0.684 MB / 0.9614 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.1577, allocations: 160 kB / 0.9616 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1594, allocations: 1.033 MB / 0.9626 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.1597, allocations: 462.4 kB / 0.963 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.1602, allocations: 0.5416 MB / 0.9636 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.1627, allocations: 1.865 MB / 0.9654 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1627, allocations: 4 kB / 0.9654 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1627, allocations: 0 / 0.9654 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.1627, allocations: 0 / 0.9654 GB, free: 5.617 MB / 0.9167 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.002409/0.1652, allocations: 1.987 MB / 0.9673 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1652, allocations: 12.03 kB / 0.9673 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.1668, allocations: 0.5019 MB / 0.9678 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.1679, allocations: 0.9812 MB / 0.9688 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.168, allocations: 86.23 kB / 0.9689 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.1681, allocations: 120 kB / 0.969 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1694, allocations: 1.293 MB / 0.9703 GB, free: 388 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.1694, allocations: 0 / 0.9703 GB, free: 388 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.1695, allocations: 48 kB / 0.9703 GB, free: 340 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.1695, allocations: 42.11 kB / 0.9703 GB, free: 296 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1706, allocations: 0.8983 MB / 0.9712 GB, free: 15.38 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.00343/0.174, allocations: 3.043 MB / 0.9742 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.1749, allocations: 0.6357 MB / 0.9748 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.1753, allocations: 227 kB / 0.975 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.1753, allocations: 36.97 kB / 0.9751 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.1759, allocations: 0.6617 MB / 0.9757 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 2.214e-06/0.1759, allocations: 4.094 kB / 0.9757 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.001861/0.1778, allocations: 1.019 MB / 0.9767 GB, free: 9.598 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.1779, allocations: 200.9 kB / 0.9769 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.1786, allocations: 0.765 MB / 0.9776 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.1786, allocations: 57.7 kB / 0.9777 GB, free: 8.52 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.179, allocations: 0.59 MB / 0.9783 GB, free: 7.922 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.1792, allocations: 372.8 kB / 0.9786 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.1794, allocations: 228.5 kB / 0.9788 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1795, allocations: 0.5199 MB / 0.9794 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.1798, allocations: 178.5 kB / 0.9795 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.1802, allocations: 483.3 kB / 0.98 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.1809, allocations: 0.5412 MB / 0.9805 GB, free: 5.492 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1809, allocations: 3.938 kB / 0.9805 GB, free: 5.488 MB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001231/0.1821, allocations: 0.8552 MB / 0.9814 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1822, allocations: 4 kB / 0.9814 GB, free: 4.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1822, allocations: 11.88 kB / 0.9814 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.1826, allocations: 135.7 kB / 0.9815 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.1831, allocations: 235.7 kB / 0.9817 GB, free: 4.238 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.1845, allocations: 1.905 MB / 0.9836 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.185, allocations: 103.4 kB / 0.9837 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.185, allocations: 47.97 kB / 0.9837 GB, free: 2.051 MB / 0.9323 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.0002725/0.1853, allocations: 231 kB / 0.9839 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.1855, allocations: 151.4 kB / 0.9841 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.1868, allocations: 0.9859 MB / 0.9851 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1868, allocations: 16 kB / 0.9851 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1868, allocations: 0 / 0.9851 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1868, allocations: 11.91 kB / 0.9851 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.1894, allocations: 1.967 MB / 0.987 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1894, allocations: 0 / 0.987 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.1898, allocations: 207.8 kB / 0.9872 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.1902, allocations: 123.5 kB / 0.9873 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.1902, allocations: 27.98 kB / 0.9873 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.1914, allocations: 1.914 MB / 0.9892 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1914, allocations: 7.938 kB / 0.9892 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.193, allocations: 1.227 MB / 0.9904 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.1933, allocations: 258.8 kB / 0.9907 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.1935, allocations: 31.98 kB / 0.9907 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.1938, allocations: 60.66 kB / 0.9908 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.194, allocations: 84.83 kB / 0.9908 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.194, allocations: 39.98 kB / 0.9909 GB, free: 10.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004452/0.1945, allocations: 498.9 kB / 0.9914 GB, free: 10.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1945, allocations: 4 kB / 0.9914 GB, free: 10.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009106/0.1954, allocations: 458.8 kB / 0.9918 GB, free: 9.559 MB / 0.948 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.001328/0.1967, allocations: 0.6543 MB / 0.9924 GB, free: 9.078 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.1979, allocations: 0.7952 MB / 0.9932 GB, free: 8.266 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1979, allocations: 0 / 0.9932 GB, free: 8.266 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/0.1984, allocations: 0.5365 MB / 0.9937 GB, free: 7.707 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.1996, allocations: 0.5067 MB / 0.9942 GB, free: 7.215 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.2028, allocations: 2.191 MB / 0.9964 GB, free: 4.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.203, allocations: 252.9 kB / 0.9966 GB, free: 4.703 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006763/0.2037, allocations: 309.3 kB / 0.9969 GB, free: 4.398 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.2039, allocations: 136.4 kB / 0.997 GB, free: 4.262 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/0.2039, allocations: 0 / 0.997 GB, free: 4.262 MB / 0.948 GB Notification: Performance of Templates: time 0.025/0.2289, allocations: 22.17 MB / 1.019 GB, free: 14.52 MB / 0.9792 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.786099275108427]