Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.556/2.556, allocations: 287.9 MB / 302.9 MB, free: 8.34 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.001487/0.001486, allocations: 195.5 kB / 371.4 MB, free: 10.66 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 2.002/2.002, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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: 99.73 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004651, allocations: 10.92 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.167, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001275/0.1683, allocations: 1.05 MB / 0.9798 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006449/0.169, allocations: 325.1 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.169, allocations: 3.938 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.555e-05/0.1691, allocations: 4 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.961e-05/0.1691, allocations: 7.922 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1695, allocations: 59.86 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.1695, allocations: 19.97 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.1696, allocations: 7.922 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.499e-05/0.1696, allocations: 15.98 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.1697, allocations: 15.92 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1697, allocations: 4 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1698, allocations: 51.94 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.1699, allocations: 27.92 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.1699, allocations: 37.64 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1701, allocations: 91.83 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.681e-06/0.1701, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.941e-06/0.1701, allocations: 0 / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.32e-06/0.1701, allocations: 0 / 0.9804 GB, free: 26.45 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000431/0.1706, allocations: 420.2 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1706, allocations: 8.031 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.1707, allocations: 11.81 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.1708, allocations: 186.8 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1709, allocations: 3.984 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1709, allocations: 8 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1711, allocations: 177.6 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.391e-06/0.1711, allocations: 0 / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1712, allocations: 0 / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-06/0.1712, allocations: 0 / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.1713, allocations: 79.98 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1714, allocations: 201.3 kB / 0.9815 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1716, allocations: 142.5 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.772e-06/0.1716, allocations: 0 / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.1719, allocations: 204.4 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.481e-06/0.1719, allocations: 0 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0008432/0.1728, allocations: 0.6553 MB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.1729, allocations: 99.3 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.173, allocations: 117.7 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.173, allocations: 57.67 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.1731, allocations: 85.14 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.1732, allocations: 94.92 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.1732, allocations: 8 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.1733, allocations: 338.8 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1735, allocations: 172.9 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.1738, allocations: 234 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.1741, allocations: 209.7 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-06/0.1741, allocations: 0 / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000692/0.1748, allocations: 0.4927 MB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1748, allocations: 5.25 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1749, allocations: 4.062 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1749, allocations: 4 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.175, allocations: 23.88 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.76e-06/0.175, allocations: 7.984 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1752, allocations: 31.59 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1752, allocations: 16 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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 0.0001924/0.1754, allocations: 211.2 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1754, allocations: 7.906 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.1755, allocations: 5.219 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1755, allocations: 3.938 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-06/0.1755, allocations: 0 / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1755, allocations: 0 / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1756, allocations: 193.4 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-06/0.1756, allocations: 3.953 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-06/0.1757, allocations: 0 / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.924e-06/0.1757, allocations: 4 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1757, allocations: 3.984 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-06/0.1757, allocations: 4 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1757, allocations: 3.938 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.1763, allocations: 460.9 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.1764, allocations: 100.8 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.1764, allocations: 27.98 kB / 0.9853 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.1765, allocations: 7.984 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1766, allocations: 4 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1766, allocations: 8 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.707e-05/0.1766, allocations: 79.27 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-07/0.1766, allocations: 4 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003581/0.177, allocations: 48 kB / 0.9855 GB, free: 20.91 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 35 (occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33],occ.occ,occ.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004103/0.1774, allocations: 222.1 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.1779, allocations: 361.2 kB / 0.986 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.813e-06/0.1779, allocations: 0 / 0.986 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1781, allocations: 127.9 kB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1782, allocations: 8 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.1787, allocations: 350.2 kB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.1789, allocations: 0.7251 MB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.179, allocations: 17.42 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.179, allocations: 15.44 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.394e-06/0.179, allocations: 4 kB / 0.9873 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.004829/0.1839, allocations: 1.611 MB / 0.9888 GB, free: 17.45 MB / 0.6198 GB