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.0009659/0.0009659, allocations: 80.8 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.001052/0.001052, 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.9741/0.9741, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.856/1.856, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.412e-06/1.412e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.284e-05, allocations: 6.25 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005395/0.005418, allocations: 4.99 MB / 0.7649 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.142, allocations: 146.1 MB / 0.9075 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007395/0.1427, allocations: 23.81 kB / 0.9076 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.1432, allocations: 206.1 kB / 0.9078 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.1446, allocations: 0.5705 MB / 0.9083 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.1461, allocations: 0.8645 MB / 0.9092 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1475, allocations: 1.513 MB / 0.9106 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008296/0.1483, allocations: 410.2 kB / 0.911 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009263/0.1492, allocations: 0.7991 MB / 0.9118 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.1497, allocations: 394.8 kB / 0.9122 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.1498, allocations: 116 kB / 0.9123 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009034/0.1507, allocations: 0.5188 MB / 0.9128 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1509, allocations: 299 kB / 0.9131 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.1512, allocations: 394.9 kB / 0.9135 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1526, allocations: 1.257 MB / 0.9147 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1526, allocations: 0 / 0.9147 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1526, allocations: 0 / 0.9147 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.1527, allocations: 0 / 0.9147 GB, free: 7.816 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.001632/0.1543, allocations: 1.418 MB / 0.9161 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1543, allocations: 12.03 kB / 0.9161 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.1552, allocations: 288.2 kB / 0.9164 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.1559, allocations: 0.594 MB / 0.9169 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.156, allocations: 82.11 kB / 0.917 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.1561, allocations: 96 kB / 0.9171 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009893/0.1571, allocations: 0.8758 MB / 0.918 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1571, allocations: 15.86 kB / 0.918 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1571, allocations: 36 kB / 0.918 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1571, allocations: 20 kB / 0.918 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.1578, allocations: 0.5948 MB / 0.9186 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.1597, allocations: 1.671 MB / 0.9203 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.1602, allocations: 412.8 kB / 0.9207 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1604, allocations: 139.8 kB / 0.9208 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.1604, allocations: 32.97 kB / 0.9208 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.1608, allocations: 459.3 kB / 0.9213 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=90): time 2.745e-06/0.1608, allocations: 0 / 0.9213 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of matching and sorting (n=90): time 0.001061/0.1619, allocations: 0.5733 MB / 0.9218 GB, free: 288 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.162, allocations: 204.8 kB / 0.922 GB, free: 40 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.1624, allocations: 0.5211 MB / 0.9225 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.1624, allocations: 49.7 kB / 0.9226 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1626, allocations: 334.5 kB / 0.9229 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.1627, allocations: 309.4 kB / 0.9232 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.1629, allocations: 178.5 kB / 0.9233 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.163, allocations: 390.6 kB / 0.9237 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1631, allocations: 96.77 kB / 0.9238 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1633, allocations: 315.6 kB / 0.9241 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.1637, allocations: 337.1 kB / 0.9244 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1637, allocations: 0 / 0.9244 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0009487/0.1646, allocations: 478.9 kB / 0.9249 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1647, allocations: 8 kB / 0.9249 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1647, allocations: 0 / 0.9249 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.1651, allocations: 128.8 kB / 0.925 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.1655, allocations: 205.1 kB / 0.9252 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.1666, allocations: 1.301 MB / 0.9265 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1669, allocations: 87.62 kB / 0.9266 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.1669, allocations: 27.95 kB / 0.9266 GB, free: 11.12 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.0002035/0.1671, allocations: 179.2 kB / 0.9268 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.1672, allocations: 83.92 kB / 0.9268 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/0.168, allocations: 0.6226 MB / 0.9275 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.168, allocations: 8 kB / 0.9275 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.168, allocations: 0 / 0.9275 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1681, allocations: 7.969 kB / 0.9275 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.1694, allocations: 1.124 MB / 0.9286 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1694, allocations: 0 / 0.9286 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1698, allocations: 163.7 kB / 0.9287 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.1701, allocations: 120.7 kB / 0.9288 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.1701, allocations: 19.98 kB / 0.9289 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008672/0.171, allocations: 1.328 MB / 0.9302 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.171, allocations: 0 / 0.9302 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.1718, allocations: 0.7242 MB / 0.9309 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.172, allocations: 147.2 kB / 0.931 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.1721, allocations: 27.98 kB / 0.931 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.1723, allocations: 39.97 kB / 0.9311 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.1724, allocations: 72.8 kB / 0.9311 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.1724, allocations: 23.98 kB / 0.9312 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001972/0.1726, allocations: 255.4 kB / 0.9314 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1726, allocations: 4.031 kB / 0.9314 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006147/0.1732, allocations: 347.1 kB / 0.9317 GB, free: 5.68 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.001709/0.1749, allocations: 0.7558 MB / 0.9325 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006608/0.1756, allocations: 0.5215 MB / 0.933 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1756, allocations: 4 kB / 0.933 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.1759, allocations: 382.9 kB / 0.9334 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.1766, allocations: 314.7 kB / 0.9337 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1787, allocations: 1.623 MB / 0.9352 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.1788, allocations: 202.9 kB / 0.9354 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.1792, allocations: 190.9 kB / 0.9356 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.1797, allocations: 311 kB / 0.9359 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/0.1797, allocations: 4 kB / 0.9359 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of Templates: time 0.02104/0.2008, allocations: 17.2 MB / 0.9527 GB, free: 0.7305 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 -s gbode -gbm=radauIIA3 -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.59300009906292]