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.001512/0.001512, allocations: 108 kB / 15.61 MB, free: 152 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.00236/0.00236, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.812/1.812, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.721/1.721, allocations: 251.7 MB / 0.5092 GB, free: 3.109 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.0017/0.0017, allocations: 67.91 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8998/0.9015, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003481/0.905, allocations: 1.441 MB / 0.7259 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.9061, allocations: 407 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.9061, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.9063, allocations: 15.86 kB / 0.7263 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.9065, allocations: 23.8 kB / 0.7263 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.9072, allocations: 226.4 kB / 0.7266 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.9077, allocations: 343.7 kB / 0.7269 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.9078, allocations: 12.16 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.9081, allocations: 151.7 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.9083, allocations: 127.6 kB / 0.7272 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.9084, allocations: 32 kB / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.9085, allocations: 55.98 kB / 0.7272 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.9087, allocations: 43.89 kB / 0.7273 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.9088, allocations: 123.6 kB / 0.7274 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.9093, allocations: 261.3 kB / 0.7277 GB, free: 9.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.9093, allocations: 8 kB / 0.7277 GB, free: 9.676 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9093, allocations: 0 / 0.7277 GB, free: 9.676 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9093, allocations: 0 / 0.7277 GB, free: 9.676 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.001201/0.9105, allocations: 0.5839 MB / 0.7282 GB, free: 9.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.9106, allocations: 12.03 kB / 0.7282 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.9107, allocations: 28.75 kB / 0.7283 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.9111, allocations: 255.3 kB / 0.7285 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.9111, allocations: 16.38 kB / 0.7285 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.9112, allocations: 36.36 kB / 0.7286 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.9118, allocations: 253.3 kB / 0.7288 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9118, allocations: 192 / 0.7288 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.9118, allocations: 11.92 kB / 0.7288 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.9118, allocations: 4 kB / 0.7288 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.9121, allocations: 99.86 kB / 0.7289 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.9127, allocations: 375.9 kB / 0.7293 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.9132, allocations: 246.5 kB / 0.7295 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.9135, allocations: 135.6 kB / 0.7296 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.9135, allocations: 3.984 kB / 0.7296 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007308/0.9143, allocations: 282.4 kB / 0.7299 GB, free: 7.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.9143, allocations: 0 / 0.7299 GB, free: 7.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001293/0.9156, allocations: 0.5283 MB / 0.7304 GB, free: 6.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.9157, allocations: 144.5 kB / 0.7306 GB, free: 6.414 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.9159, allocations: 149.7 kB / 0.7307 GB, free: 6.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.916, allocations: 45.7 kB / 0.7308 GB, free: 6.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9161, allocations: 104.8 kB / 0.7309 GB, free: 6.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/0.9162, allocations: 67.17 kB / 0.7309 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9164, allocations: 89.67 kB / 0.731 GB, free: 5.941 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.9165, allocations: 326.8 kB / 0.7313 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.9169, allocations: 179.8 kB / 0.7315 GB, free: 5.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.9172, allocations: 219.3 kB / 0.7317 GB, free: 5.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.9177, allocations: 311 kB / 0.732 GB, free: 4.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9177, allocations: 0 / 0.732 GB, free: 4.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001163/0.9189, allocations: 0.7328 MB / 0.7327 GB, free: 4.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.919, allocations: 91.31 kB / 0.7328 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.919, allocations: 0 / 0.7328 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.9191, allocations: 4.062 kB / 0.7328 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.9192, allocations: 19.98 kB / 0.7328 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9192, allocations: 8 kB / 0.7328 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.9197, allocations: 75.66 kB / 0.7329 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.9197, allocations: 23.98 kB / 0.7329 GB, free: 3.906 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 (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,$whenCondition4,$whenCondition3,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,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.92, allocations: 164.4 kB / 0.7331 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.92, allocations: 19.84 kB / 0.7331 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.9201, allocations: 20.7 kB / 0.7331 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9201, allocations: 4 kB / 0.7331 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.9201, allocations: 0 / 0.7331 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.9201, allocations: 4 kB / 0.7331 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.9205, allocations: 265.3 kB / 0.7334 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9205, allocations: 0 / 0.7334 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.9206, allocations: 19.92 kB / 0.7334 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.9206, allocations: 3.938 kB / 0.7334 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.9206, allocations: 23.97 kB / 0.7334 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9206, allocations: 0 / 0.7334 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9207, allocations: 0 / 0.7334 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.9216, allocations: 466.6 kB / 0.7339 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.9217, allocations: 100.8 kB / 0.734 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.9218, allocations: 23.94 kB / 0.734 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.9219, allocations: 19.97 kB / 0.734 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.922, allocations: 19.97 kB / 0.734 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.922, allocations: 19.98 kB / 0.734 GB, free: 2.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001026/0.9221, allocations: 117.6 kB / 0.7342 GB, free: 2.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.9222, allocations: 0 / 0.7342 GB, free: 2.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003648/0.9225, allocations: 79.98 kB / 0.7342 GB, free: 2.457 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 (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.000285/0.9228, allocations: 143.2 kB / 0.7344 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.924, allocations: 0.6989 MB / 0.7351 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.924, allocations: 0 / 0.7351 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.9244, allocations: 167.8 kB / 0.7352 GB, free: 1.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.9247, allocations: 27.91 kB / 0.7352 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.9257, allocations: 382.7 kB / 0.7356 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.9262, allocations: 0.7244 MB / 0.7363 GB, free: 236 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.9262, allocations: 17.36 kB / 0.7363 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.9263, allocations: 15.44 kB / 0.7363 GB, free: 204 kB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.9263, allocations: 3.938 kB / 0.7363 GB, free: 200 kB / 0.545 GB Notification: Performance of Templates: time 0.008589/0.9349, allocations: 3.608 MB / 0.7399 GB, free: 12.63 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (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)