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 2.573/2.573, allocations: 285 MB / 292.5 MB, free: 10.56 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.001424/0.001424, allocations: 184.8 kB / 360.7 MB, free: 7.234 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.024/2.024, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001022, allocations: 96.72 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.343e-05, allocations: 0 / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9422/0.9423, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2666/1.209, allocations: 137.4 MB / 1.098 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.209, allocations: 68.56 kB / 1.098 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02405/1.233, allocations: 3.9 MB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.923e-06/1.233, allocations: 0 / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.234, allocations: 0 / 1.102 GB, free: 15.09 MB / 0.7136 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.0008256/1.234, allocations: 420.1 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.234, allocations: 8.031 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.235, allocations: 19.89 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/1.235, allocations: 218.8 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/1.235, allocations: 4 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/1.235, allocations: 8 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002054/1.235, allocations: 43.91 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/1.236, allocations: 89.94 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.236, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.236, allocations: 1.219 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.236, allocations: 3.953 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/1.236, allocations: 211.1 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/1.238, allocations: 77.19 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/1.239, allocations: 61.8 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/1.239, allocations: 4 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/1.239, allocations: 106.7 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.807e-06/1.239, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0008853/1.24, allocations: 164.7 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.24, allocations: 89.11 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/1.241, allocations: 134.8 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/1.241, allocations: 29.7 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.241, allocations: 104.6 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/1.241, allocations: 33.52 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/1.241, allocations: 3.938 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.241, allocations: 334.8 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/1.241, allocations: 40.17 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/1.242, allocations: 202.4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/1.242, allocations: 69.97 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.242, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007562/1.243, allocations: 163.9 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/1.243, allocations: 4.781 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.662e-05/1.243, allocations: 7.938 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.243, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/1.244, allocations: 15.98 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.244, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008267/1.244, allocations: 87.8 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/1.244, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 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 () * 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.0002138/1.245, allocations: 120.7 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/1.245, allocations: 11.81 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/1.245, allocations: 12.62 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.245, allocations: 4 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.245, allocations: 7.984 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.245, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/1.245, allocations: 172.5 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.245, allocations: 4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/1.245, allocations: 4 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/1.245, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.245, allocations: 4 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/1.245, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.245, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/1.246, allocations: 219.4 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/1.246, allocations: 88.95 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/1.246, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/1.247, allocations: 7.938 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/1.247, allocations: 7.984 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/1.247, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001658/1.247, allocations: 116.8 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.02e-07/1.247, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008086/1.248, allocations: 75.92 kB / 1.105 GB, free: 11.18 MB / 0.7136 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) * 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.0005974/1.248, allocations: 173.5 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005417/1.249, allocations: 155.3 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.249, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/1.249, allocations: 47.92 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/1.249, allocations: 4 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/1.25, allocations: 152.6 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/1.251, allocations: 0.7046 MB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001165/1.251, allocations: 12.94 kB / 1.106 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/1.251, allocations: 11.44 kB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of SimCode: time 1.362e-06/1.251, allocations: 0 / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of Templates: time 0.0114/1.262, allocations: 2.216 MB / 1.108 GB, free: 7.734 MB / 0.7136 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)