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 4.739/4.739, allocations: 0.5623 GB / 0.5769 GB, free: 66.94 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.002591/0.002591, allocations: 359.4 kB / 0.644 GB, free: 21.58 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.108/4.108, allocations: 410.7 MB / 1.112 GB, free: 15.7 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.001778/0.001778, allocations: 188.6 kB / 1.225 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004874, allocations: 9.969 kB / 1.348 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001215/0.1595, allocations: 1.055 MB / 1.462 GB, free: 219.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.1601, allocations: 325.2 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.1602, allocations: 1.625 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.046e-05/0.1602, allocations: 4 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.1603, allocations: 7.922 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1606, allocations: 58.58 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.1607, allocations: 35.86 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.1607, allocations: 3.984 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.1608, allocations: 8 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/0.1608, allocations: 15.92 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1609, allocations: 7.984 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.161, allocations: 64.78 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.1611, allocations: 27.91 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1611, allocations: 38.33 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1613, allocations: 91.84 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.24e-06/0.1613, allocations: 1.188 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.798e-06/0.1613, allocations: 0 / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1613, allocations: 0 / 1.462 GB, free: 219 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004442/0.1618, allocations: 421.4 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1618, allocations: 9.812 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1619, allocations: 15.81 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.162, allocations: 178.8 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.1621, allocations: 8.516 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1621, allocations: 9.891 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1623, allocations: 177.6 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.034e-06/0.1623, allocations: 0 / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1624, allocations: 3.984 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1624, allocations: 0 / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.1625, allocations: 78.67 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1626, allocations: 205.3 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1628, allocations: 138.5 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1629, allocations: 119.7 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.765e-06/0.163, allocations: 0.5 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1632, allocations: 201.5 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 2.425e-06/0.1632, allocations: 1.781 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.000751/0.164, allocations: 0.5491 MB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1641, allocations: 95.36 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.1642, allocations: 117.7 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.1642, allocations: 59.31 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.1643, allocations: 85.12 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.1643, allocations: 94.94 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.1644, allocations: 7.984 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.1644, allocations: 348 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1647, allocations: 165 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.165, allocations: 241.6 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.1653, allocations: 212.4 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.393e-06/0.1653, allocations: 0 / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006795/0.166, allocations: 493.8 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.166, allocations: 8 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.943e-06/0.166, allocations: 1.719 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1661, allocations: 4 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1662, allocations: 27.86 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.905e-06/0.1662, allocations: 4 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1663, allocations: 37.64 kB / 1.466 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1664, allocations: 12 kB / 1.466 GB, free: 214.7 MB / 0.8073 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.0002007/0.1666, allocations: 217.8 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.1666, allocations: 3.906 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.1667, allocations: 9.219 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-06/0.1667, allocations: 1 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.594e-06/0.1667, allocations: 0 / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1667, allocations: 0 / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1668, allocations: 199.2 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1668, allocations: 0 / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-06/0.1668, allocations: 0 / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.822e-06/0.1668, allocations: 0 / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1669, allocations: 4 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-06/0.1669, allocations: 1.406 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-06/0.1669, allocations: 0 / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.1675, allocations: 471.1 kB / 1.467 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.1676, allocations: 96.81 kB / 1.467 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.1676, allocations: 36.11 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.1677, allocations: 8 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1677, allocations: 9.203 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1678, allocations: 4 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.1678, allocations: 75.28 kB / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.8e-07/0.1678, allocations: 1.125 kB / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003551/0.1682, allocations: 51.98 kB / 1.468 GB, free: 213.5 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: 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.0004201/0.1686, allocations: 227.4 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.1691, allocations: 354.8 kB / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.616e-06/0.1691, allocations: 0 / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1692, allocations: 120 kB / 1.468 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1695, allocations: 13.91 kB / 1.468 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.17, allocations: 346.5 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.1701, allocations: 0.7207 MB / 1.469 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.1702, allocations: 18.95 kB / 1.469 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1702, allocations: 15.44 kB / 1.469 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.749e-06/0.1703, allocations: 0 / 1.469 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.005017/0.1753, allocations: 1.619 MB / 1.471 GB, free: 210.2 MB / 0.8073 GB