Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.926/4.926, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002504/0.002504, allocations: 361.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.272/4.272, allocations: 410.7 MB / 1.113 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 180.1 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004783, allocations: 8 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7094, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.9074, allocations: 138.2 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9077, allocations: 79.2 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01664/0.9244, allocations: 3.934 MB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9244, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.9245, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000546/0.925, allocations: 436.6 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9251, allocations: 15.56 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.9251, allocations: 11.91 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.9255, allocations: 220 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.9255, allocations: 5.266 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.9256, allocations: 16 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.9258, allocations: 80.22 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9258, allocations: 0.5 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.9258, allocations: 5.25 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9259, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.926, allocations: 51.86 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.9263, allocations: 247.7 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.9264, allocations: 85.08 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.9266, allocations: 57.73 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.9266, allocations: 4 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.9268, allocations: 111 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/0.9268, allocations: 1.266 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0004968/0.9273, allocations: 201.7 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.9274, allocations: 91.48 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.9275, allocations: 153.8 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.9276, allocations: 37.64 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.9277, allocations: 96.58 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.9277, allocations: 40.52 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.9277, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.9278, allocations: 327.9 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.928, allocations: 48.09 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.9283, allocations: 217.8 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.9284, allocations: 66.86 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9284, allocations: 1.094 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003505/0.9288, allocations: 165.4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9288, allocations: 7.938 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/0.9289, allocations: 5.594 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9289, allocations: 3.953 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.929, allocations: 11.98 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.929, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.9295, allocations: 89.94 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.9296, allocations: 8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001362/0.9297, allocations: 140 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.9297, allocations: 8.406 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.9298, allocations: 12.72 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9298, allocations: 4.781 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9298, allocations: 3.953 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9298, allocations: 0.8125 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.93, allocations: 201.4 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.93, allocations: 7 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.9301, allocations: 8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9301, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.9301, allocations: 8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9301, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9301, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.9305, allocations: 198.8 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.9305, allocations: 89 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.9306, allocations: 5 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.9306, allocations: 5.062 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.9307, allocations: 7.984 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.9307, allocations: 7.953 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.083e-05/0.9308, allocations: 115.8 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9308, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004586/0.9313, allocations: 85.36 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003149/0.9316, allocations: 176 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.932, allocations: 165.4 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.932, allocations: 0 / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.9321, allocations: 47.92 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.9323, allocations: 4.438 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.9328, allocations: 246.3 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.933, allocations: 0.7119 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.933, allocations: 10.69 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.9331, allocations: 15.42 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.9331, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.006623/0.9397, allocations: 2.32 MB / 1.607 GB, free: 134.4 MB / 0.8542 GB