Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 63.53 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4502, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003072/0.4533, allocations: 1.402 MB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.4544, allocations: 0.4926 MB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.4544, allocations: 3.938 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.4545, allocations: 7.938 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.4546, allocations: 11.92 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.4555, allocations: 235.8 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.4557, allocations: 151.7 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.4558, allocations: 7.984 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.4559, allocations: 51.91 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.456, allocations: 39.83 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.456, allocations: 12 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.4563, allocations: 175.8 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.4564, allocations: 35.91 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.4565, allocations: 51.78 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.4569, allocations: 235.7 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4569, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4569, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4569, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 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.0006624/0.4576, allocations: 447 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4576, allocations: 12.03 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.4577, allocations: 20.84 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.458, allocations: 210.2 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.458, allocations: 8.375 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.458, allocations: 8.375 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.4582, allocations: 83.89 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4582, allocations: 192 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4582, allocations: 3.938 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4583, allocations: 4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.4583, allocations: 39.97 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.4586, allocations: 230.5 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4588, allocations: 85.17 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.4588, allocations: 53.8 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4589, allocations: 4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.4592, allocations: 113 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.4592, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003777/0.4595, allocations: 197.7 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.4596, allocations: 89.09 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4598, allocations: 157.5 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.4598, allocations: 33.7 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.4599, allocations: 100.5 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.46, allocations: 39.53 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.46, allocations: 49.7 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4602, allocations: 322.8 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.4603, allocations: 43.97 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4605, allocations: 206.7 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.4607, allocations: 97.64 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4607, allocations: 4 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002201/0.4609, allocations: 165.3 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4609, allocations: 9.875 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.461, allocations: 4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.461, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.4611, allocations: 11.98 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4611, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.4614, allocations: 79.69 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4614, allocations: 4 kB / 1.074 GB, free: 4.32 MB / 0.8262 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 0.000132/0.4615, allocations: 141.7 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.4616, allocations: 11.84 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.4616, allocations: 16.72 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4616, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4616, allocations: 4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4616, allocations: 7.984 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.4618, allocations: 189.5 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4618, allocations: 3.938 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.4619, allocations: 8 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4619, allocations: 3.984 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4619, allocations: 0 / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4619, allocations: 4 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4619, allocations: 4 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.4621, allocations: 177.8 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.4622, allocations: 92.89 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.4622, allocations: 8 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.4623, allocations: 3.984 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.4623, allocations: 4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4623, allocations: 4 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.084e-05/0.4624, allocations: 117.5 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4624, allocations: 0 / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003303/0.4628, allocations: 75.98 kB / 1.075 GB, free: 3.359 MB / 0.8262 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.0002832/0.4631, allocations: 163.7 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.4634, allocations: 163.3 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4634, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.4634, allocations: 52.09 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.4636, allocations: 15.88 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.4642, allocations: 235.4 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4645, allocations: 0.7041 MB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.23e-05/0.4645, allocations: 12.67 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.4646, allocations: 19.31 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4646, allocations: 0 / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.006068/0.4706, allocations: 2.516 MB / 1.078 GB, free: 15.45 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)