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.0008969/0.0008969, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001378/0.001378, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.6708/0.6708, allocations: 95.62 MB / 366 MB, free: 10.36 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.0005839/0.0005841, allocations: 12.22 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4048, allocations: 70.33 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001236/0.4061, allocations: 1.14 MB / 0.5062 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005401/0.4067, allocations: 371.2 kB / 0.5065 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.4067, allocations: 4 kB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.069e-05/0.4068, allocations: 7.938 kB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.4069, allocations: 15.91 kB / 0.5066 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.4074, allocations: 206.9 kB / 0.5068 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.4076, allocations: 243.7 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.4077, allocations: 12.16 kB / 0.507 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.4078, allocations: 123.7 kB / 0.5071 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.408, allocations: 103.7 kB / 0.5072 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.408, allocations: 16 kB / 0.5072 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.4081, allocations: 35.98 kB / 0.5073 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.4081, allocations: 23.92 kB / 0.5073 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.4082, allocations: 65.62 kB / 0.5074 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.4084, allocations: 169.6 kB / 0.5075 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4084, allocations: 0 / 0.5075 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4084, allocations: 0 / 0.5075 GB, free: 13.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.4084, allocations: 0 / 0.5075 GB, free: 13.98 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.0004011/0.4088, allocations: 0.5329 MB / 0.508 GB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4089, allocations: 11.98 kB / 0.508 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.4089, allocations: 31.81 kB / 0.5081 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.4092, allocations: 238.7 kB / 0.5083 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4092, allocations: 15.95 kB / 0.5083 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.4092, allocations: 31.98 kB / 0.5084 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.4095, allocations: 177 kB / 0.5085 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4096, allocations: 3.938 kB / 0.5085 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.4096, allocations: 8 kB / 0.5085 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4096, allocations: 4 kB / 0.5085 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.4097, allocations: 91.89 kB / 0.5086 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.41, allocations: 335.8 kB / 0.5089 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4102, allocations: 238.6 kB / 0.5092 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4104, allocations: 183.4 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.4104, allocations: 3.984 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.4107, allocations: 333.5 kB / 0.5097 GB, free: 11.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.4108, allocations: 3.938 kB / 0.5097 GB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006627/0.4114, allocations: 476.6 kB / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4115, allocations: 314.7 kB / 0.5104 GB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.4116, allocations: 148.9 kB / 0.5106 GB, free: 10.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.4117, allocations: 49.7 kB / 0.5106 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.4117, allocations: 100.6 kB / 0.5107 GB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.4118, allocations: 67.19 kB / 0.5108 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.4118, allocations: 8 kB / 0.5108 GB, free: 10.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.4119, allocations: 330.8 kB / 0.5111 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.4122, allocations: 195.9 kB / 0.5113 GB, free: 9.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.4124, allocations: 235 kB / 0.5115 GB, free: 9.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.4127, allocations: 284.8 kB / 0.5118 GB, free: 9.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4127, allocations: 0 / 0.5118 GB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009155/0.4136, allocations: 0.8254 MB / 0.5126 GB, free: 8.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.4137, allocations: 150.7 kB / 0.5127 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4137, allocations: 4 kB / 0.5127 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4137, allocations: 4.062 kB / 0.5127 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.4138, allocations: 11.98 kB / 0.5127 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4139, allocations: 0 / 0.5127 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.4144, allocations: 127.7 kB / 0.5129 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.4145, allocations: 23.98 kB / 0.5129 GB, free: 7.977 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 ($whenCondition3,$whenCondition4,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.4147, allocations: 243.7 kB / 0.5131 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4147, allocations: 31.81 kB / 0.5132 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.4148, allocations: 12.7 kB / 0.5132 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4148, allocations: 4 kB / 0.5132 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4148, allocations: 0 / 0.5132 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4148, allocations: 0 / 0.5132 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.415, allocations: 265.3 kB / 0.5134 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.415, allocations: 0 / 0.5134 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.415, allocations: 4 kB / 0.5134 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.415, allocations: 0 / 0.5134 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.415, allocations: 19.98 kB / 0.5134 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4151, allocations: 0 / 0.5134 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4151, allocations: 12 kB / 0.5135 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.4156, allocations: 480.5 kB / 0.5139 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.4156, allocations: 88.95 kB / 0.514 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.4157, allocations: 12 kB / 0.514 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.416, allocations: 67.92 kB / 0.5141 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.4161, allocations: 11.98 kB / 0.5141 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4161, allocations: 15.98 kB / 0.5141 GB, free: 6.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.4162, allocations: 122.2 kB / 0.5142 GB, free: 6.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4162, allocations: 0 / 0.5142 GB, free: 6.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.4165, allocations: 83.94 kB / 0.5143 GB, free: 6.406 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 (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.0001641/0.4166, allocations: 148.5 kB / 0.5144 GB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000768/0.4174, allocations: 0.8683 MB / 0.5153 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4174, allocations: 0 / 0.5153 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.4178, allocations: 0.5769 MB / 0.5159 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.418, allocations: 26.34 kB / 0.5159 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.4186, allocations: 425.3 kB / 0.5163 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.4188, allocations: 0.7202 MB / 0.517 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.4188, allocations: 4.672 kB / 0.517 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.4188, allocations: 11.44 kB / 0.517 GB, free: 3.496 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4188, allocations: 4 kB / 0.517 GB, free: 3.492 MB / 382.1 MB Notification: Performance of Templates: time 0.005671/0.4245, allocations: 3.7 MB / 0.5206 GB, free: 15.83 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: