Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.515/4.515, allocations: 0.5623 GB / 0.5769 GB, free: 66.89 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002526/0.002526, allocations: 357.7 kB / 0.644 GB, free: 21.7 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.411/4.411, allocations: 410.8 MB / 1.112 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 194.7 kB / 1.225 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 14.5 kB / 1.348 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001401/0.1574, allocations: 1.184 MB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1585, allocations: 0.7127 MB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.1586, allocations: 0 / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.1586, allocations: 4.562 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.1587, allocations: 13.2 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.1591, allocations: 95.69 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.1592, allocations: 64.41 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.1593, allocations: 9.312 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.1594, allocations: 27.91 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.1595, allocations: 40.8 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1595, allocations: 4 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.1597, allocations: 81.19 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.1597, allocations: 15.92 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.1598, allocations: 33.7 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1599, allocations: 96.03 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.16, allocations: 5.219 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.901e-06/0.16, allocations: 4 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.073e-06/0.16, allocations: 0 / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004882/0.1605, allocations: 414.6 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1605, allocations: 8.75 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.1606, allocations: 12.48 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.1607, allocations: 167 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.1607, allocations: 5.469 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1607, allocations: 11.98 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1609, allocations: 70.44 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-06/0.161, allocations: 0 / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.161, allocations: 1.781 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-06/0.161, allocations: 0 / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.1612, allocations: 52.42 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.1617, allocations: 324.3 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1619, allocations: 49.81 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.162, allocations: 36.97 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1621, allocations: 4 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.1623, allocations: 79.84 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.563e-06/0.1623, allocations: 0.9375 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004524/0.1628, allocations: 151.1 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1628, allocations: 56.33 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.1629, allocations: 122.4 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1629, allocations: 25.7 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.163, allocations: 96.94 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.163, allocations: 12.56 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-06/0.163, allocations: 8 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.1631, allocations: 319.9 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1632, allocations: 24.92 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1633, allocations: 58.12 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1634, allocations: 35.98 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1635, allocations: 0.8438 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002934/0.1638, allocations: 119.1 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1638, allocations: 6.875 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-06/0.1638, allocations: 0 / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1638, allocations: 0 / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.164, allocations: 23.94 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.164, allocations: 0 / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.1641, allocations: 8 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1641, allocations: 4 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.1642, allocations: 130.3 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.1642, allocations: 7.906 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.1643, allocations: 14.47 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1643, allocations: 3.984 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-06/0.1643, allocations: 3.953 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.761e-06/0.1643, allocations: 0 / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1648, allocations: 384.1 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1648, allocations: 1.156 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.1649, allocations: 15.92 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1649, allocations: 0 / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1649, allocations: 5.547 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-06/0.1649, allocations: 3.938 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-06/0.1649, allocations: 0 / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1652, allocations: 217.8 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.1653, allocations: 85.02 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1653, allocations: 0.5312 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1654, allocations: 12.92 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1655, allocations: 7.984 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1655, allocations: 1.969 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.1656, allocations: 92.91 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.38e-07/0.1656, allocations: 7.938 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003888/0.166, allocations: 39.98 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.1663, allocations: 162.8 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1666, allocations: 65.97 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.656e-06/0.1666, allocations: 0 / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1668, allocations: 45.5 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1671, allocations: 8 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.1675, allocations: 206 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.1677, allocations: 0.6912 MB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.1677, allocations: 4.188 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.1678, allocations: 15.42 kB / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of SimCode: time 2.205e-06/0.1678, allocations: 0 / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.004465/0.1722, allocations: 1.348 MB / 1.469 GB, free: 212.3 MB / 0.8073 GB