Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 172 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.509/2.509, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 105.7 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 15.22 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.4329, allocations: 132.1 MB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4332, allocations: 71.97 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.4502, allocations: 3.313 MB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.416e-06/0.4503, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4503, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001786/0.4521, allocations: 0.5372 MB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4522, allocations: 12.03 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4523, allocations: 31.81 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.4532, allocations: 268.9 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.4533, allocations: 23.92 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4534, allocations: 35.92 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.4542, allocations: 248.8 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4543, allocations: 4 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.4543, allocations: 8 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4543, allocations: 4 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.4548, allocations: 95.86 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.4555, allocations: 387.7 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.4562, allocations: 242.8 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4562, allocations: 0 / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/0.457, allocations: 282 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.457, allocations: 0 / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.001978/0.459, allocations: 0.5291 MB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4592, allocations: 148.4 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4594, allocations: 139 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.4595, allocations: 53.62 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4596, allocations: 104.6 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.4597, allocations: 59.25 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.4598, allocations: 8 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.46, allocations: 330.8 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.4605, allocations: 179.8 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.461, allocations: 227 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.4615, allocations: 225.7 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4615, allocations: 0 / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001792/0.4633, allocations: 0.723 MB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.4635, allocations: 80.94 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4635, allocations: 4.062 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4635, allocations: 4 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.4637, allocations: 19.94 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4637, allocations: 3.984 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.4644, allocations: 79.73 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.4645, allocations: 23.98 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002916/0.4648, allocations: 156.4 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.4649, allocations: 23.86 kB / 1.036 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.4649, allocations: 16.7 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.465, allocations: 4 kB / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.465, allocations: 0 / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.465, allocations: 0 / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.4654, allocations: 277.2 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4654, allocations: 4 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4655, allocations: 8 kB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.4655, allocations: 4 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.4656, allocations: 19.92 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.4656, allocations: 7.938 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4656, allocations: 0 / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.467, allocations: 0.495 MB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4671, allocations: 88.92 kB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4673, allocations: 15.98 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.4675, allocations: 23.98 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.4676, allocations: 27.91 kB / 1.037 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.4677, allocations: 23.97 kB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001284/0.4678, allocations: 121.9 kB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4679, allocations: 0 / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005721/0.4684, allocations: 83.98 kB / 1.037 GB, free: 2.883 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002803/0.4687, allocations: 143 kB / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.4703, allocations: 0.6941 MB / 1.038 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4703, allocations: 4.062 kB / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.4709, allocations: 163.8 kB / 1.038 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.4712, allocations: 12 kB / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.4723, allocations: 413.3 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4727, allocations: 0.713 MB / 1.04 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.666e-05/0.4727, allocations: 17.42 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.4728, allocations: 23.42 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/0.4728, allocations: 0 / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of Templates: time 0.01018/0.483, allocations: 3.154 MB / 1.043 GB, free: 13.49 MB / 0.698 GB