Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009167/0.0009167, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001014/0.001014, allocations: 161 kB / 24.17 MB, free: 332 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.9641/0.9641, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.877/1.877, 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.081e-05, allocations: 3.078 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006933/0.006954, allocations: 4.958 MB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.1463, allocations: 146 MB / 0.9075 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.147, allocations: 19.88 kB / 0.9075 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1475, allocations: 206.1 kB / 0.9077 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.1488, allocations: 0.6056 MB / 0.9083 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1503, allocations: 0.8724 MB / 0.9091 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1516, allocations: 1.517 MB / 0.9106 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.1521, allocations: 411.4 kB / 0.911 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.1529, allocations: 0.7952 MB / 0.9118 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.1533, allocations: 398.8 kB / 0.9121 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1535, allocations: 116 kB / 0.9123 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.1542, allocations: 495.2 kB / 0.9127 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.1544, allocations: 310.9 kB / 0.913 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.1546, allocations: 383 kB / 0.9134 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1558, allocations: 1.269 MB / 0.9146 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1558, allocations: 3.938 kB / 0.9146 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1558, allocations: 0 / 0.9146 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.1558, allocations: 0 / 0.9146 GB, free: 7.914 MB / 0.8698 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.001444/0.1573, allocations: 1.414 MB / 0.916 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1573, allocations: 8.031 kB / 0.916 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/0.1581, allocations: 296.2 kB / 0.9163 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.1588, allocations: 0.594 MB / 0.9169 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.159, allocations: 78.11 kB / 0.917 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.159, allocations: 88 kB / 0.917 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1597, allocations: 0.8836 MB / 0.9179 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1598, allocations: 0 / 0.9179 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.1598, allocations: 43.98 kB / 0.9179 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1598, allocations: 20 kB / 0.918 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.1604, allocations: 0.5986 MB / 0.9185 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.1624, allocations: 1.663 MB / 0.9202 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.1629, allocations: 415.1 kB / 0.9206 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.163, allocations: 139.8 kB / 0.9207 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.1631, allocations: 40.95 kB / 0.9207 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.1635, allocations: 463.3 kB / 0.9212 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=90): time 1.954e-06/0.1635, allocations: 0 / 0.9212 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of matching and sorting (n=90): time 0.001016/0.1645, allocations: 0.5655 MB / 0.9217 GB, free: 400 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1645, allocations: 208.8 kB / 0.9219 GB, free: 148 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.1649, allocations: 0.5211 MB / 0.9224 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.165, allocations: 49.7 kB / 0.9225 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1651, allocations: 334.5 kB / 0.9228 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1653, allocations: 305.4 kB / 0.9231 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1654, allocations: 170.5 kB / 0.9233 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1655, allocations: 394.6 kB / 0.9236 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1657, allocations: 100.8 kB / 0.9237 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.166, allocations: 315.6 kB / 0.924 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.1664, allocations: 341.1 kB / 0.9244 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1664, allocations: 0 / 0.9244 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0006448/0.167, allocations: 479 kB / 0.9248 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.167, allocations: 8 kB / 0.9248 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1671, allocations: 3.938 kB / 0.9248 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.1674, allocations: 124.7 kB / 0.9249 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.1678, allocations: 175.7 kB / 0.9251 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1689, allocations: 1.315 MB / 0.9264 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.1692, allocations: 79.52 kB / 0.9265 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.1692, allocations: 27.97 kB / 0.9265 GB, free: 11.25 MB / 0.8855 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.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 (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.0001963/0.1694, allocations: 175.1 kB / 0.9267 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.1695, allocations: 79.92 kB / 0.9267 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.1703, allocations: 0.6187 MB / 0.9273 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1703, allocations: 12 kB / 0.9274 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1703, allocations: 3.984 kB / 0.9274 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.1703, allocations: 7.984 kB / 0.9274 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.1716, allocations: 1.117 MB / 0.9285 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1716, allocations: 0 / 0.9285 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.1719, allocations: 155.7 kB / 0.9286 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.1722, allocations: 112.7 kB / 0.9287 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.1723, allocations: 19.98 kB / 0.9287 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008192/0.1731, allocations: 1.332 MB / 0.93 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1731, allocations: 0 / 0.93 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007892/0.1739, allocations: 0.7281 MB / 0.9307 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.1742, allocations: 143.2 kB / 0.9309 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.1743, allocations: 27.98 kB / 0.9309 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.1745, allocations: 35.97 kB / 0.9309 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.1746, allocations: 76.89 kB / 0.931 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.1746, allocations: 15.98 kB / 0.931 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001947/0.1748, allocations: 259.4 kB / 0.9313 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1748, allocations: 3.938 kB / 0.9313 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005927/0.1754, allocations: 351 kB / 0.9316 GB, free: 5.832 MB / 0.8855 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 (101): * Single equations (assignments): 90 * 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.1769, allocations: 0.7596 MB / 0.9324 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.1775, allocations: 0.5137 MB / 0.9329 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.1775, allocations: 8 kB / 0.9329 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.1778, allocations: 387 kB / 0.9332 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.1784, allocations: 313.5 kB / 0.9335 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1805, allocations: 1.616 MB / 0.9351 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.1806, allocations: 198.9 kB / 0.9353 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003703/0.181, allocations: 186.9 kB / 0.9355 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.1815, allocations: 311 kB / 0.9358 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of SimCode: time 9.22e-07/0.1815, allocations: 0 / 0.9358 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of Templates: time 0.02009/0.2016, allocations: 17.11 MB / 0.9525 GB, free: 0.9727 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.563890801277012]