Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.282/2.282, allocations: 391.2 MB / 407 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 191.4 kB / 499.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 222.9 MB / 0.7948 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 117 kB / 0.9329 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 53.5 kB / 1.081 GB, free: 218.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3577, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002769/0.3605, allocations: 1.478 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.3615, allocations: 0.5188 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.3616, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3617, allocations: 3.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.3618, allocations: 11.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.3624, allocations: 187 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3626, allocations: 143.7 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.3627, allocations: 15.97 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.3628, allocations: 51.84 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.3628, allocations: 43.83 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.3629, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.3631, allocations: 163.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.3632, allocations: 27.91 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.3633, allocations: 47.78 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.3635, allocations: 221.6 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3636, allocations: 4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3636, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3636, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 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.0005754/0.3642, allocations: 455.8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3642, allocations: 11.98 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.3643, allocations: 12.84 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3645, allocations: 216 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3645, allocations: 8.312 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3645, allocations: 12.38 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3647, allocations: 83.95 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3647, allocations: 192 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3647, allocations: 3.938 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3648, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.3648, allocations: 43.91 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.3651, allocations: 222.6 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.3652, allocations: 85.23 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.3652, allocations: 57.75 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3653, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.3655, allocations: 109 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3655, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0003015/0.3658, allocations: 185.4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3658, allocations: 97.03 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.3659, allocations: 144.2 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.366, allocations: 37.69 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.366, allocations: 100.5 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.3661, allocations: 35.53 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.3661, allocations: 49.7 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.3662, allocations: 330.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.3663, allocations: 43.97 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3664, allocations: 200.1 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3665, allocations: 89.7 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3665, allocations: 0 / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001752/0.3667, allocations: 169.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3667, allocations: 9.25 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.3668, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3668, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.3669, allocations: 11.92 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3669, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3672, allocations: 79.75 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3672, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.925e-05/0.3673, allocations: 141.9 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.3673, allocations: 11.84 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3673, allocations: 12.72 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3673, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3673, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3673, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3675, allocations: 205.5 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3675, allocations: 7.875 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.3675, allocations: 7.938 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3675, allocations: 11.94 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3675, allocations: 3.984 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3676, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3676, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.3679, allocations: 0.7845 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.368, allocations: 85.02 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.368, allocations: 8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.368, allocations: 7.984 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3681, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3681, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.3682, allocations: 124.5 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3682, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000367/0.3685, allocations: 75.92 kB / 1.225 GB, free: 109.4 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/0.3688, allocations: 164.9 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.369, allocations: 164 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.369, allocations: 0 / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.3691, allocations: 47.92 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3693, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.3697, allocations: 396.2 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3699, allocations: 0.7082 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.37, allocations: 4.672 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.37, allocations: 19.44 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.37, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Templates: time 0.0046/0.3746, allocations: 2.453 MB / 1.229 GB, free: 105.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)