Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001428/0.001428, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001716/0.001716, allocations: 173 kB / 23.49 MB, free: 1.059 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.9123/0.9123, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.046/2.046, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8781 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.168e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.0126/0.01263, allocations: 5.006 MB / 0.883 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.1531, allocations: 146.3 MB / 1.026 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.1538, allocations: 23.81 kB / 1.026 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.1544, allocations: 206.1 kB / 1.026 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1557, allocations: 0.5862 MB / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.157, allocations: 0.8763 MB / 1.028 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1583, allocations: 1.517 MB / 1.029 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.1588, allocations: 402.2 kB / 1.029 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.1594, allocations: 0.7641 MB / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.1598, allocations: 422.8 kB / 1.031 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1599, allocations: 124 kB / 1.031 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.1605, allocations: 0.4993 MB / 1.031 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1607, allocations: 323 kB / 1.032 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.161, allocations: 406.9 kB / 1.032 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1622, allocations: 1.296 MB / 1.033 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1622, allocations: 0 / 1.033 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1622, allocations: 3.938 kB / 1.033 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.1622, allocations: 0 / 1.033 GB, free: 7.328 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001602/0.1638, allocations: 1.558 MB / 1.035 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1638, allocations: 12.03 kB / 1.035 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.1647, allocations: 327.6 kB / 1.035 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.1657, allocations: 0.7441 MB / 1.036 GB, free: 4.621 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.1658, allocations: 74.12 kB / 1.036 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/0.1659, allocations: 96 kB / 1.036 GB, free: 4.457 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.1669, allocations: 1.032 MB / 1.037 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.1669, allocations: 0 / 1.037 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.1669, allocations: 40 kB / 1.037 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.1669, allocations: 20 kB / 1.037 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/0.1678, allocations: 0.8036 MB / 1.038 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.1702, allocations: 2.376 MB / 1.04 GB, free: 4 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.171, allocations: 0.5171 MB / 1.041 GB, free: 15.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.1713, allocations: 186.6 kB / 1.041 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.1713, allocations: 32.97 kB / 1.041 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/0.1718, allocations: 0.4949 MB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 1.854e-06/0.1718, allocations: 0 / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001602/0.1734, allocations: 0.8665 MB / 1.042 GB, free: 13.84 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003186/0.1737, allocations: 200.9 kB / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.1742, allocations: 0.5894 MB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.1743, allocations: 45.7 kB / 1.043 GB, free: 12.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1745, allocations: 471.9 kB / 1.043 GB, free: 12.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1747, allocations: 301.5 kB / 1.044 GB, free: 12.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.1748, allocations: 188.2 kB / 1.044 GB, free: 11.99 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.175, allocations: 0.5664 MB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1752, allocations: 153.8 kB / 1.045 GB, free: 11.26 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.1756, allocations: 389.8 kB / 1.045 GB, free: 10.83 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.1761, allocations: 411.1 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1761, allocations: 0 / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001039/0.1772, allocations: 0.6958 MB / 1.046 GB, free: 9.703 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1772, allocations: 11.94 kB / 1.046 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1772, allocations: 0 / 1.046 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/0.1777, allocations: 131.7 kB / 1.046 GB, free: 9.559 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.178, allocations: 179.8 kB / 1.046 GB, free: 9.383 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1794, allocations: 1.909 MB / 1.048 GB, free: 7.344 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1797, allocations: 87.12 kB / 1.048 GB, free: 7.262 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.1797, allocations: 43.97 kB / 1.048 GB, free: 7.219 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 109 * 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.00021/0.1799, allocations: 223 kB / 1.049 GB, free: 6.992 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.18, allocations: 115.6 kB / 1.049 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1815, allocations: 0.8539 MB / 1.049 GB, free: 6.008 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1815, allocations: 16 kB / 1.049 GB, free: 5.992 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1815, allocations: 0 / 1.049 GB, free: 5.992 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1815, allocations: 3.984 kB / 1.049 GB, free: 5.988 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.1834, allocations: 1.671 MB / 1.051 GB, free: 4.262 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1834, allocations: 0 / 1.051 GB, free: 4.262 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.1837, allocations: 155.7 kB / 1.051 GB, free: 4.109 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000344/0.184, allocations: 111.6 kB / 1.051 GB, free: 3.996 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.1841, allocations: 27.97 kB / 1.051 GB, free: 3.969 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1852, allocations: 1.925 MB / 1.053 GB, free: 1.914 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1852, allocations: 4.031 kB / 1.053 GB, free: 1.91 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.1865, allocations: 1.066 MB / 1.054 GB, free: 0.8203 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.1867, allocations: 199.1 kB / 1.055 GB, free: 0.625 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.1868, allocations: 31.88 kB / 1.055 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1871, allocations: 54.17 kB / 1.055 GB, free: 0.543 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1872, allocations: 76.86 kB / 1.055 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.1872, allocations: 35.97 kB / 1.055 GB, free: 444 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003152/0.1876, allocations: 399 kB / 1.055 GB, free: 52 kB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1876, allocations: 4 kB / 1.055 GB, free: 48 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.3722/0.5598, allocations: 343.2 kB / 1.055 GB, free: 219.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (100): * Single equations (assignments): 89 * 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.001279/0.5611, allocations: 0.6255 MB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.5622, allocations: 0.6865 MB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5622, allocations: 0.7188 kB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.5627, allocations: 488.9 kB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.5636, allocations: 322.7 kB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.5661, allocations: 1.647 MB / 1.059 GB, free: 218.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.5662, allocations: 199.9 kB / 1.059 GB, free: 218.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005024/0.5667, allocations: 257.2 kB / 1.06 GB, free: 218.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5669, allocations: 114.9 kB / 1.06 GB, free: 218.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.614e-06/0.5669, allocations: 0 / 1.06 GB, free: 218.3 MB / 1.01 GB Notification: Performance of Templates: time 0.01889/0.5858, allocations: 15.97 MB / 1.075 GB, free: 216.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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.307375225005671]