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 2.944/2.944, allocations: 287.9 MB / 302.9 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001397, allocations: 179.1 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 0.6301 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 94.48 kB / 0.7434 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004585, allocations: 10.81 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1563, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001416/0.1578, allocations: 1.175 MB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.159, allocations: 0.7269 MB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.1591, allocations: 0 / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.1591, allocations: 7.922 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.1592, allocations: 7.984 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.1596, allocations: 91.75 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.1597, allocations: 47.88 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.1598, allocations: 12 kB / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.1599, allocations: 31.89 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.16, allocations: 35.84 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.16, allocations: 4 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1602, allocations: 67.86 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.1602, allocations: 11.98 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.1603, allocations: 37.64 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1604, allocations: 104 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.88e-06/0.1605, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1605, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.216e-06/0.1605, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 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.0004967/0.161, allocations: 408.8 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.161, allocations: 12.03 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.1611, allocations: 7.859 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.943e-05/0.1612, allocations: 167 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.1612, allocations: 11.94 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1613, allocations: 4 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1614, allocations: 73.59 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1615, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1615, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-06/0.1615, allocations: 4 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1617, allocations: 43.97 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.1623, allocations: 328.7 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1624, allocations: 58.5 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1625, allocations: 0 / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.1627, allocations: 79.5 kB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.337e-06/0.1627, allocations: 0 / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004471/0.1631, allocations: 149.5 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1632, allocations: 51.41 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.1633, allocations: 129.7 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1633, allocations: 25.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1634, allocations: 92.39 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.1634, allocations: 23.67 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-06/0.1634, allocations: 4 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.1635, allocations: 318.8 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1636, allocations: 27.98 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1637, allocations: 50.98 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1638, allocations: 35.98 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.331e-06/0.1639, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002975/0.1642, allocations: 117.8 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1642, allocations: 8 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.145e-06/0.1642, allocations: 0 / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1642, allocations: 64 / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1644, allocations: 23.92 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.751e-06/0.1644, allocations: 11.95 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.719e-05/0.1645, allocations: 4 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1645, allocations: 8 kB / 0.9832 GB, free: 23.38 MB / 0.6198 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.879e-05/0.1646, allocations: 115.1 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1646, allocations: 7.906 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.1647, allocations: 16.36 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1647, allocations: 7.984 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1647, allocations: 0 / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-06/0.1647, allocations: 3.953 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1652, allocations: 382.4 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-06/0.1652, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.1653, allocations: 12 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.329e-06/0.1653, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1653, allocations: 3.984 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-06/0.1653, allocations: 3.953 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-06/0.1653, allocations: 0 / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1657, allocations: 215.4 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.1657, allocations: 89.02 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1657, allocations: 3.984 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1659, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1659, allocations: 15.94 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1659, allocations: 0 / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.166, allocations: 95.42 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.81e-07/0.166, allocations: 0 / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004005/0.1664, allocations: 36 kB / 0.9842 GB, free: 22.29 MB / 0.6198 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.000348/0.1668, allocations: 163.7 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.1671, allocations: 83.88 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1671, allocations: 4.125 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1672, allocations: 36.3 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1675, allocations: 11.98 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.1679, allocations: 207 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.168, allocations: 0.6965 MB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.1681, allocations: 4.344 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1681, allocations: 7.438 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.249e-06/0.1681, allocations: 0 / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.004457/0.1726, allocations: 1.346 MB / 0.9867 GB, free: 19.7 MB / 0.6198 GB