Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.09/3.09, allocations: 287.5 MB / 302.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 173.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 86.38 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006801/0.00068, allocations: 10.72 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3175, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9423/1.26, allocations: 138.2 MB / 1.113 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/1.26, allocations: 72.17 kB / 1.113 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02289/1.283, allocations: 3.924 MB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.357e-06/1.283, allocations: 0 / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.754e-05/1.283, allocations: 0 / 1.117 GB, free: 31.34 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.0009252/1.284, allocations: 439.9 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.284, allocations: 15.61 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.284, allocations: 14.53 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/1.285, allocations: 215.1 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/1.285, allocations: 7.156 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/1.285, allocations: 11.53 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/1.285, allocations: 92.77 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.285, allocations: 0 / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/1.285, allocations: 0 / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/1.285, allocations: 3.984 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/1.286, allocations: 47.84 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/1.286, allocations: 251.6 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/1.286, allocations: 85.55 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/1.286, allocations: 3.875 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/1.287, allocations: 113.9 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/1.287, allocations: 0 / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0009223/1.288, allocations: 358.5 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/1.288, allocations: 92.08 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/1.288, allocations: 139.4 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/1.288, allocations: 36.52 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.288, allocations: 105.5 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/1.288, allocations: 32.55 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/1.288, allocations: 0 / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.288, allocations: 330.1 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.289, allocations: 47.3 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/1.289, allocations: 218.9 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/1.289, allocations: 67.8 kB / 1.12 GB, free: 29.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.289, allocations: 0 / 1.12 GB, free: 29.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005386/1.29, allocations: 163.9 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.29, allocations: 7.781 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/1.29, allocations: 5.5 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.29, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/1.29, allocations: 13.38 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.29, allocations: 7.938 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/1.291, allocations: 89.23 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/1.291, allocations: 6.906 kB / 1.12 GB, free: 29.21 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.0002511/1.291, allocations: 135.5 kB / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/1.291, allocations: 7.812 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/1.291, allocations: 17.47 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.291, allocations: 4 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.291, allocations: 3.844 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.291, allocations: 3.953 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/1.292, allocations: 201.4 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.292, allocations: 3.844 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/1.292, allocations: 3.938 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.292, allocations: 0 / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.292, allocations: 7.094 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.292, allocations: 0 / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.292, allocations: 0 / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/1.292, allocations: 213.2 kB / 1.121 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/1.293, allocations: 87.42 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/1.293, allocations: 7.469 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/1.293, allocations: 3.094 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/1.293, allocations: 7.766 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/1.293, allocations: 6.906 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001434/1.293, allocations: 115.5 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.293, allocations: 0 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007616/1.294, allocations: 82.95 kB / 1.121 GB, free: 28.59 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.0004501/1.294, allocations: 179.1 kB / 1.121 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004816/1.295, allocations: 166.4 kB / 1.121 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.295, allocations: 0 / 1.121 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/1.295, allocations: 46.17 kB / 1.121 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/1.295, allocations: 12.97 kB / 1.121 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/1.296, allocations: 237.7 kB / 1.122 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.296, allocations: 0.7114 MB / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001104/1.296, allocations: 11.64 kB / 1.122 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/1.296, allocations: 13.84 kB / 1.122 GB, free: 27.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.296, allocations: 0 / 1.122 GB, free: 27.52 MB / 0.698 GB Notification: Performance of Templates: time 0.009476/1.306, allocations: 2.304 MB / 1.125 GB, free: 27.32 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)