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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001144/0.001144, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.549/1.549, allocations: 205.1 MB / 222 MB, free: 4.746 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.6538/0.6538, allocations: 95.47 MB / 364.8 MB, free: 10.13 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.001526/0.001526, allocations: 71.91 kB / 444.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4103, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002511/0.4129, allocations: 1.491 MB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.4137, allocations: 470.9 kB / 0.5036 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.4138, allocations: 0 / 0.5036 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.4139, allocations: 7.938 kB / 0.5036 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.4141, allocations: 7.922 kB / 0.5036 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.4146, allocations: 231.3 kB / 0.5038 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.4148, allocations: 267.7 kB / 0.5041 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.702e-05/0.4149, allocations: 4.234 kB / 0.5041 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.4151, allocations: 127.7 kB / 0.5042 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.4152, allocations: 91.73 kB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.4153, allocations: 16 kB / 0.5043 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.4154, allocations: 39.98 kB / 0.5044 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.4154, allocations: 19.86 kB / 0.5044 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.4156, allocations: 115.6 kB / 0.5045 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.4158, allocations: 245.3 kB / 0.5047 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4158, allocations: 0 / 0.5047 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.4158, allocations: 0 / 0.5047 GB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.4158, allocations: 4 kB / 0.5047 GB, free: 14.51 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.0005486/0.4164, allocations: 0.5837 MB / 0.5053 GB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4164, allocations: 15.98 kB / 0.5053 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.4165, allocations: 28.75 kB / 0.5053 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4168, allocations: 240.1 kB / 0.5056 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4168, allocations: 12.38 kB / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.4168, allocations: 24.38 kB / 0.5056 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.4171, allocations: 188.8 kB / 0.5058 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4171, allocations: 192 / 0.5058 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.4172, allocations: 7.938 kB / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4172, allocations: 0 / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.4173, allocations: 95.89 kB / 0.5059 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.4176, allocations: 331.9 kB / 0.5062 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.4178, allocations: 238.5 kB / 0.5064 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.4179, allocations: 195.5 kB / 0.5066 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.418, allocations: 0 / 0.5066 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/0.4183, allocations: 331.5 kB / 0.5069 GB, free: 11.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.4183, allocations: 0 / 0.5069 GB, free: 11.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006653/0.419, allocations: 484.5 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4191, allocations: 307 kB / 0.5077 GB, free: 11.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4192, allocations: 157.7 kB / 0.5078 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.4193, allocations: 45.7 kB / 0.5079 GB, free: 10.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.4193, allocations: 112.5 kB / 0.508 GB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.4194, allocations: 55.2 kB / 0.508 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4195, allocations: 97.61 kB / 0.5081 GB, free: 10.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.4196, allocations: 326.8 kB / 0.5084 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.4198, allocations: 191.9 kB / 0.5086 GB, free: 10.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.4201, allocations: 235.1 kB / 0.5088 GB, free: 9.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.4204, allocations: 443.5 kB / 0.5093 GB, free: 9.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4205, allocations: 0 / 0.5093 GB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009122/0.4214, allocations: 0.8219 MB / 0.5101 GB, free: 8.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/0.4215, allocations: 158.7 kB / 0.5102 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4215, allocations: 0 / 0.5102 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4215, allocations: 4 kB / 0.5102 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.4216, allocations: 4 kB / 0.5102 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4216, allocations: 3.938 kB / 0.5102 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.4222, allocations: 123.6 kB / 0.5103 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4223, allocations: 24 kB / 0.5104 GB, free: 8.199 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.000154/0.4224, allocations: 235.8 kB / 0.5106 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.4225, allocations: 27.75 kB / 0.5106 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.4225, allocations: 12.72 kB / 0.5106 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4225, allocations: 8 kB / 0.5106 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4225, allocations: 0 / 0.5106 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4225, allocations: 0 / 0.5106 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.4227, allocations: 257.4 kB / 0.5109 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4227, allocations: 0 / 0.5109 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.4227, allocations: 7.938 kB / 0.5109 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4227, allocations: 7.938 kB / 0.5109 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4228, allocations: 15.98 kB / 0.5109 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4228, allocations: 4 kB / 0.5109 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4228, allocations: 0 / 0.5109 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.4233, allocations: 470.8 kB / 0.5114 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.4233, allocations: 96.86 kB / 0.5115 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.4234, allocations: 19.94 kB / 0.5115 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.4237, allocations: 52.11 kB / 0.5115 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.4238, allocations: 11.94 kB / 0.5115 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4238, allocations: 23.92 kB / 0.5116 GB, free: 6.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.4239, allocations: 114.2 kB / 0.5117 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4239, allocations: 0 / 0.5117 GB, free: 6.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000289/0.4242, allocations: 84 kB / 0.5118 GB, free: 6.652 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.0001505/0.4244, allocations: 136.6 kB / 0.5119 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.4251, allocations: 0.88 MB / 0.5127 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4251, allocations: 0 / 0.5127 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.4254, allocations: 0.569 MB / 0.5133 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.4257, allocations: 23.94 kB / 0.5133 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.4263, allocations: 436 kB / 0.5137 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.4265, allocations: 0.7124 MB / 0.5144 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.4265, allocations: 8.656 kB / 0.5144 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.4266, allocations: 15.44 kB / 0.5145 GB, free: 3.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4266, allocations: 0 / 0.5145 GB, free: 3.738 MB / 382.1 MB Notification: Performance of Templates: time 0.006308/0.4329, allocations: 3.837 MB / 0.5182 GB, free: 15.95 MB / 398.1 MB 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)