Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 288.4 MB / 304.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 181.2 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 0.6317 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000815/0.0008149, allocations: 101.1 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 15 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2595, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8345/1.094, allocations: 138.4 MB / 1.116 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.094, allocations: 82.2 kB / 1.116 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01055/1.105, allocations: 3.935 MB / 1.12 GB, free: 32.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.105, allocations: 7.75 kB / 1.12 GB, free: 32.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.816e-06/1.105, allocations: 0 / 1.12 GB, free: 32.09 MB / 0.698 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.0005325/1.106, allocations: 434.5 kB / 1.12 GB, free: 31.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.106, allocations: 19.62 kB / 1.12 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/1.106, allocations: 12.53 kB / 1.12 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/1.106, allocations: 217.3 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.106, allocations: 9.859 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/1.106, allocations: 15.03 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/1.106, allocations: 80.23 kB / 1.121 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.106, allocations: 3.938 kB / 1.121 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.106, allocations: 3.906 kB / 1.121 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.106, allocations: 4 kB / 1.121 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/1.106, allocations: 46.53 kB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/1.107, allocations: 240.8 kB / 1.121 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/1.107, allocations: 81.7 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/1.107, allocations: 57.72 kB / 1.121 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/1.107, allocations: 7.234 kB / 1.121 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/1.107, allocations: 114.2 kB / 1.121 GB, free: 31.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/1.107, allocations: 0 / 1.121 GB, free: 31.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0003509/1.107, allocations: 210.6 kB / 1.121 GB, free: 31.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.107, allocations: 87.23 kB / 1.121 GB, free: 30.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/1.108, allocations: 152.2 kB / 1.121 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/1.108, allocations: 37.2 kB / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/1.108, allocations: 104.9 kB / 1.122 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/1.108, allocations: 29.66 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/1.108, allocations: 7.438 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.108, allocations: 326.7 kB / 1.122 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/1.108, allocations: 41.44 kB / 1.122 GB, free: 30.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/1.108, allocations: 209.9 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/1.108, allocations: 103.1 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.108, allocations: 0 / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002127/1.109, allocations: 174.4 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.109, allocations: 7.812 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.109, allocations: 6.734 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.109, allocations: 3.938 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/1.109, allocations: 7.781 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.109, allocations: 0 / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.109, allocations: 87.81 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/1.109, allocations: 12.42 kB / 1.123 GB, free: 30.14 MB / 0.698 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.0001211/1.109, allocations: 142.4 kB / 1.123 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/1.109, allocations: 11.69 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/1.109, allocations: 14.69 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.109, allocations: 3.812 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.109, allocations: 0 / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.109, allocations: 3.938 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/1.109, allocations: 203.6 kB / 1.123 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.109, allocations: 4 kB / 1.123 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/1.109, allocations: 7.125 kB / 1.123 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.109, allocations: 10.94 kB / 1.123 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.109, allocations: 0 / 1.123 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.109, allocations: 0 / 1.123 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.109, allocations: 3.844 kB / 1.123 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/1.11, allocations: 198.1 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/1.11, allocations: 84.8 kB / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/1.11, allocations: 3.875 kB / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/1.11, allocations: 10.55 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/1.11, allocations: 3.5 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/1.11, allocations: 10.78 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.801e-05/1.11, allocations: 114.8 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003205/1.11, allocations: 81.19 kB / 1.123 GB, free: 29.51 MB / 0.698 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.0002361/1.111, allocations: 171.9 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002397/1.111, allocations: 173.9 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.111, allocations: 0 / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.888e-05/1.111, allocations: 44.58 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/1.111, allocations: 13.89 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/1.111, allocations: 242.2 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/1.112, allocations: 0.7045 MB / 1.125 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.706e-05/1.112, allocations: 7.797 kB / 1.125 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/1.112, allocations: 18.62 kB / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.112, allocations: 0 / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of Templates: time 0.004728/1.117, allocations: 2.348 MB / 1.127 GB, free: 28.26 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)