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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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.001065/0.001065, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008955/0.008955, allocations: 169.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5991/0.5991, allocations: 95.63 MB / 366.4 MB, free: 10.24 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005494/0.0005495, allocations: 16.7 kB / 447.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4051, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001194/0.4063, allocations: 1.152 MB / 0.5068 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.407, allocations: 458.9 kB / 0.5072 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.407, allocations: 0 / 0.5072 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.427e-05/0.4071, allocations: 0 / 0.5072 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.4072, allocations: 19.84 kB / 0.5072 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.4077, allocations: 231.3 kB / 0.5075 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.4079, allocations: 271.6 kB / 0.5077 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.4079, allocations: 8.234 kB / 0.5077 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.4081, allocations: 123.7 kB / 0.5078 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.4082, allocations: 87.75 kB / 0.5079 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.4082, allocations: 12 kB / 0.5079 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.4083, allocations: 43.98 kB / 0.508 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.4084, allocations: 19.91 kB / 0.508 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.4085, allocations: 129.3 kB / 0.5081 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.4087, allocations: 249.3 kB / 0.5084 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4087, allocations: 0 / 0.5084 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4087, allocations: 0 / 0.5084 GB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.4087, allocations: 0 / 0.5084 GB, free: 13.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003738/0.4091, allocations: 0.533 MB / 0.5089 GB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4091, allocations: 11.98 kB / 0.5089 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.4092, allocations: 36.75 kB / 0.5089 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4094, allocations: 236 kB / 0.5092 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.4094, allocations: 24.38 kB / 0.5092 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.4095, allocations: 24.38 kB / 0.5092 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.4097, allocations: 181.5 kB / 0.5094 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.4097, allocations: 192 / 0.5094 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.4098, allocations: 11.94 kB / 0.5094 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.4098, allocations: 0 / 0.5094 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.4099, allocations: 91.89 kB / 0.5095 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.4102, allocations: 332 kB / 0.5098 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4104, allocations: 230.5 kB / 0.51 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.4105, allocations: 191.4 kB / 0.5102 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4105, allocations: 8.188 kB / 0.5102 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.4109, allocations: 333.3 kB / 0.5105 GB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.4109, allocations: 4 kB / 0.5105 GB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005999/0.4115, allocations: 480.6 kB / 0.511 GB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.4116, allocations: 310.7 kB / 0.5113 GB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.4117, allocations: 160.4 kB / 0.5114 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.4117, allocations: 45.69 kB / 0.5115 GB, free: 9.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.4118, allocations: 100.6 kB / 0.5116 GB, free: 9.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.4118, allocations: 67.19 kB / 0.5116 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.4119, allocations: 42.02 kB / 0.5117 GB, free: 9.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.412, allocations: 330.8 kB / 0.512 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.4122, allocations: 195.9 kB / 0.5122 GB, free: 9.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.4125, allocations: 227.1 kB / 0.5124 GB, free: 8.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.4128, allocations: 449.6 kB / 0.5128 GB, free: 8.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4128, allocations: 0 / 0.5128 GB, free: 8.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009106/0.4138, allocations: 0.8295 MB / 0.5136 GB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.4138, allocations: 150.7 kB / 0.5138 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4139, allocations: 4 kB / 0.5138 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4139, allocations: 0 / 0.5138 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.414, allocations: 8 kB / 0.5138 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.414, allocations: 192 / 0.5138 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.4146, allocations: 135.8 kB / 0.5139 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.4146, allocations: 23.94 kB / 0.5139 GB, free: 7.312 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition4,$whenCondition3,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0001628/0.4148, allocations: 239.8 kB / 0.5142 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.4149, allocations: 27.75 kB / 0.5142 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.4149, allocations: 12.72 kB / 0.5142 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.4149, allocations: 4 kB / 0.5142 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4149, allocations: 4 kB / 0.5142 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4149, allocations: 0 / 0.5142 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.4151, allocations: 265.3 kB / 0.5145 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4151, allocations: 0 / 0.5145 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.4151, allocations: 4 kB / 0.5145 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4151, allocations: 3.938 kB / 0.5145 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4151, allocations: 15.98 kB / 0.5145 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4152, allocations: 0 / 0.5145 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4152, allocations: 7.938 kB / 0.5145 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.4156, allocations: 472.1 kB / 0.5149 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.4157, allocations: 92.86 kB / 0.515 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.4157, allocations: 19.94 kB / 0.5151 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.4161, allocations: 63.92 kB / 0.5151 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.4161, allocations: 16.03 kB / 0.5151 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4162, allocations: 15.98 kB / 0.5151 GB, free: 5.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.4162, allocations: 114 kB / 0.5153 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4162, allocations: 0 / 0.5153 GB, free: 5.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.4165, allocations: 88 kB / 0.5153 GB, free: 5.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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.0001351/0.4167, allocations: 140.5 kB / 0.5155 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.4174, allocations: 0.8683 MB / 0.5163 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4174, allocations: 0 / 0.5163 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.4178, allocations: 0.5729 MB / 0.5169 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.418, allocations: 28.31 kB / 0.5169 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.4185, allocations: 433.1 kB / 0.5173 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.4187, allocations: 0.7163 MB / 0.518 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.4187, allocations: 8.656 kB / 0.518 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.4187, allocations: 11.44 kB / 0.518 GB, free: 2.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4187, allocations: 0 / 0.518 GB, free: 2.84 MB / 382.1 MB Notification: Performance of Templates: time 0.00605/0.4248, allocations: 3.836 MB / 0.5218 GB, free: 15.06 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: