Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001157/0.001157, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001335/0.001335, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.865/1.865, allocations: 251.9 MB / 0.51 GB, free: 4.844 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005511/0.0005514, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5704, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001928/0.5724, allocations: 1.14 MB / 0.7291 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.5733, allocations: 379.1 kB / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.5734, allocations: 0 / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.545e-05/0.5735, allocations: 7.938 kB / 0.7294 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.5736, allocations: 23.91 kB / 0.7295 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.5742, allocations: 182.2 kB / 0.7296 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.5744, allocations: 155.8 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.5745, allocations: 8.234 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.5747, allocations: 135.8 kB / 0.7299 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.5749, allocations: 127.6 kB / 0.7301 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.5749, allocations: 16 kB / 0.7301 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.575, allocations: 28 kB / 0.7301 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.5751, allocations: 47.88 kB / 0.7301 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.5752, allocations: 61.64 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.5755, allocations: 189.5 kB / 0.7304 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5755, allocations: 0 / 0.7304 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5755, allocations: 0 / 0.7304 GB, free: 8.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5755, allocations: 0 / 0.7304 GB, free: 8.941 MB / 0.545 GB 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.0009289/0.5764, allocations: 0.5215 MB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5765, allocations: 8.031 kB / 0.7309 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.5766, allocations: 27.81 kB / 0.7309 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.5769, allocations: 258 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.577, allocations: 15.98 kB / 0.7312 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.577, allocations: 28 kB / 0.7312 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.5776, allocations: 256.8 kB / 0.7315 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5776, allocations: 3.953 kB / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.5777, allocations: 3.984 kB / 0.7315 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5777, allocations: 4 kB / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.578, allocations: 99.86 kB / 0.7316 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.5784, allocations: 376.1 kB / 0.7319 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.5788, allocations: 246.5 kB / 0.7322 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5789, allocations: 4.125 kB / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005446/0.5794, allocations: 286.2 kB / 0.7324 GB, free: 6.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.5794, allocations: 0 / 0.7324 GB, free: 6.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001187/0.5806, allocations: 0.5291 MB / 0.733 GB, free: 6.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5807, allocations: 148.8 kB / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.5809, allocations: 149.8 kB / 0.7332 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.581, allocations: 37.7 kB / 0.7333 GB, free: 5.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.5811, allocations: 104.6 kB / 0.7334 GB, free: 5.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.5812, allocations: 67.17 kB / 0.7334 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.5812, allocations: 12 kB / 0.7334 GB, free: 5.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5814, allocations: 326.8 kB / 0.7338 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.5816, allocations: 183.8 kB / 0.7339 GB, free: 5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.5819, allocations: 215.3 kB / 0.7341 GB, free: 4.777 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.5823, allocations: 227.3 kB / 0.7344 GB, free: 4.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5823, allocations: 0 / 0.7344 GB, free: 4.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001263/0.5835, allocations: 0.7326 MB / 0.7351 GB, free: 3.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-05/0.5837, allocations: 91.44 kB / 0.7352 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5837, allocations: 7.938 kB / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5837, allocations: 0 / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5838, allocations: 19.94 kB / 0.7352 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5839, allocations: 4 kB / 0.7352 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/0.5843, allocations: 83.75 kB / 0.7353 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.5843, allocations: 20 kB / 0.7353 GB, free: 3.559 MB / 0.545 GB 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.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,$whenCondition1,$whenCondition2,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 prepare postOptimizeDAE: time 0.0002238/0.5846, allocations: 160.4 kB / 0.7354 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.5846, allocations: 15.81 kB / 0.7355 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.5847, allocations: 20.7 kB / 0.7355 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5847, allocations: 7.953 kB / 0.7355 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.5847, allocations: 0 / 0.7355 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5847, allocations: 4 kB / 0.7355 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.585, allocations: 269.3 kB / 0.7357 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.585, allocations: 8 kB / 0.7358 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.5851, allocations: 8 kB / 0.7358 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5851, allocations: 4 kB / 0.7358 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.5852, allocations: 15.97 kB / 0.7358 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.5852, allocations: 3.984 kB / 0.7358 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.5852, allocations: 11.89 kB / 0.7358 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.586, allocations: 499.9 kB / 0.7363 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.5861, allocations: 100.8 kB / 0.7364 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.5862, allocations: 19.98 kB / 0.7364 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.5864, allocations: 11.98 kB / 0.7364 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.5865, allocations: 27.97 kB / 0.7364 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.5866, allocations: 27.91 kB / 0.7364 GB, free: 2.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.644e-05/0.5866, allocations: 109.7 kB / 0.7366 GB, free: 2.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.623e-06/0.5866, allocations: 0 / 0.7366 GB, free: 2.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003335/0.587, allocations: 87.92 kB / 0.7366 GB, free: 2.051 MB / 0.545 GB 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,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001926/0.5872, allocations: 127.2 kB / 0.7368 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009662/0.5882, allocations: 0.7016 MB / 0.7374 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5882, allocations: 0 / 0.7374 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.5885, allocations: 163.8 kB / 0.7376 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.5887, allocations: 19.88 kB / 0.7376 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008973/0.5896, allocations: 405.3 kB / 0.738 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.5902, allocations: 0.7247 MB / 0.7387 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.5903, allocations: 17.36 kB / 0.7387 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.5903, allocations: 15.44 kB / 0.7387 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5903, allocations: 0 / 0.7387 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.007123/0.5974, allocations: 3.201 MB / 0.7419 GB, free: 12.64 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) Environment - environmentSimulation: