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.464/2.464, allocations: 253.2 MB / 260.6 MB, free: 7.414 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 177 kB / 319.9 MB, free: 3.086 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.304/2.304, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001136/0.001136, allocations: 90.64 kB / 0.6751 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.656e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 106.2 MB / 0.8887 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8832/1.095, allocations: 132.3 MB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.095, allocations: 78.31 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01686/1.112, allocations: 3.272 MB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.112, allocations: 4 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.455e-06/1.112, allocations: 0 / 1.021 GB, free: 2.129 MB / 0.6355 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.001354/1.114, allocations: 0.5292 MB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.114, allocations: 16.02 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/1.114, allocations: 23.91 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/1.115, allocations: 280.5 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/1.115, allocations: 11.98 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.115, allocations: 27.38 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002773/1.115, allocations: 76.95 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/1.116, allocations: 238.8 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.116, allocations: 0 / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/1.116, allocations: 7.984 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/1.116, allocations: 0 / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/1.117, allocations: 351.5 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/1.117, allocations: 212.5 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.117, allocations: 117 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/1.117, allocations: 4 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005489/1.118, allocations: 250.6 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.946e-06/1.118, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001086/1.119, allocations: 387.7 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.119, allocations: 151.8 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/1.119, allocations: 130.3 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/1.119, allocations: 40.7 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.12, allocations: 110.1 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/1.12, allocations: 55.02 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/1.12, allocations: 8 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.12, allocations: 328.8 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/1.12, allocations: 159 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/1.121, allocations: 203.8 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/1.121, allocations: 144.8 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.121, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001685/1.123, allocations: 0.6218 MB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.123, allocations: 89.77 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.123, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.123, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/1.123, allocations: 19.92 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.123, allocations: 4.062 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/1.124, allocations: 75.77 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/1.124, allocations: 19.61 kB / 1.026 GB, free: 13.85 MB / 0.6511 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 () * 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.0002747/1.125, allocations: 139.4 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/1.125, allocations: 19.81 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.441e-05/1.125, allocations: 20.08 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.125, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.125, allocations: 7.984 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.125, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/1.125, allocations: 235.5 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.125, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/1.125, allocations: 11.94 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.125, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/1.125, allocations: 19.91 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.125, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.125, allocations: 11.94 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/1.126, allocations: 457.3 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/1.126, allocations: 88.92 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/1.126, allocations: 19.3 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/1.127, allocations: 11.98 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/1.127, allocations: 31.59 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/1.127, allocations: 27.41 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001091/1.127, allocations: 108.8 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.127, allocations: 4 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005671/1.128, allocations: 79.92 kB / 1.027 GB, free: 12.61 MB / 0.6511 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) * 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.0002768/1.128, allocations: 148.2 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001173/1.129, allocations: 0.6344 MB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.129, allocations: 0 / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003154/1.129, allocations: 143.6 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.13, allocations: 19.56 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/1.13, allocations: 287.6 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/1.131, allocations: 0.7238 MB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.693e-05/1.131, allocations: 9.203 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/1.131, allocations: 19.44 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of SimCode: time 9.91e-07/1.131, allocations: 0 / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.01037/1.141, allocations: 3.05 MB / 1.032 GB, free: 7.891 MB / 0.6511 GB