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.0008422/0.0008419, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008225/0.0008226, allocations: 172.7 kB / 15.95 MB, free: 208 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.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.659/1.659, allocations: 252 MB / 0.5102 GB, free: 4.75 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.000591/0.0005915, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6779, allocations: 106.3 MB / 0.7281 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001679/0.6796, allocations: 1.144 MB / 0.7292 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.6805, allocations: 403.1 kB / 0.7296 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.6806, allocations: 0 / 0.7296 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.342e-05/0.6806, allocations: 3.938 kB / 0.7296 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.6808, allocations: 15.92 kB / 0.7296 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.6814, allocations: 178.6 kB / 0.7298 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.6817, allocations: 271.6 kB / 0.7301 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.6818, allocations: 8.219 kB / 0.7301 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.682, allocations: 135.7 kB / 0.7302 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.6822, allocations: 127.7 kB / 0.7303 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.6822, allocations: 16 kB / 0.7303 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.6823, allocations: 39.98 kB / 0.7304 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.6824, allocations: 43.88 kB / 0.7304 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.6825, allocations: 65.64 kB / 0.7305 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.6827, allocations: 177.7 kB / 0.7307 GB, free: 8.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.6828, allocations: 4 kB / 0.7307 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6828, allocations: 0 / 0.7307 GB, free: 8.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6828, allocations: 0 / 0.7307 GB, free: 8.93 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.0009412/0.6837, allocations: 0.5137 MB / 0.7312 GB, free: 8.355 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6838, allocations: 19.95 kB / 0.7312 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.6839, allocations: 27.81 kB / 0.7312 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.6842, allocations: 262.6 kB / 0.7315 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.6843, allocations: 16 kB / 0.7315 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.6843, allocations: 31.98 kB / 0.7315 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.6848, allocations: 256.1 kB / 0.7318 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6849, allocations: 3.953 kB / 0.7318 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.6849, allocations: 3.984 kB / 0.7318 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6849, allocations: 4 kB / 0.7318 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.6852, allocations: 107.9 kB / 0.7319 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.6857, allocations: 364 kB / 0.7322 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.6861, allocations: 250.6 kB / 0.7325 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.6864, allocations: 127.5 kB / 0.7326 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.6865, allocations: 0 / 0.7326 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.687, allocations: 282.3 kB / 0.7328 GB, free: 6.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.687, allocations: 0 / 0.7328 GB, free: 6.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001117/0.6882, allocations: 0.533 MB / 0.7334 GB, free: 5.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.6883, allocations: 144.5 kB / 0.7335 GB, free: 5.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.6884, allocations: 154 kB / 0.7336 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.6885, allocations: 41.7 kB / 0.7337 GB, free: 5.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.6886, allocations: 104.6 kB / 0.7338 GB, free: 5.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.6886, allocations: 67.17 kB / 0.7339 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.6887, allocations: 15.94 kB / 0.7339 GB, free: 5.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6888, allocations: 326.8 kB / 0.7342 GB, free: 5.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.6891, allocations: 175.9 kB / 0.7343 GB, free: 4.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.6894, allocations: 227.2 kB / 0.7346 GB, free: 4.609 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.6897, allocations: 221.1 kB / 0.7348 GB, free: 4.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6897, allocations: 0 / 0.7348 GB, free: 4.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001068/0.6908, allocations: 0.7288 MB / 0.7355 GB, free: 3.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.6909, allocations: 91.33 kB / 0.7356 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6909, allocations: 4 kB / 0.7356 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.691, allocations: 8.047 kB / 0.7356 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6911, allocations: 19.94 kB / 0.7356 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6911, allocations: 0 / 0.7356 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.6915, allocations: 86.84 kB / 0.7357 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.6915, allocations: 24 kB / 0.7357 GB, free: 3.398 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.000172/0.6917, allocations: 160.4 kB / 0.7359 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.6917, allocations: 19.81 kB / 0.7359 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.6918, allocations: 24.66 kB / 0.7359 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6918, allocations: 4 kB / 0.7359 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6918, allocations: 0 / 0.7359 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6918, allocations: 4 kB / 0.7359 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.6921, allocations: 261.3 kB / 0.7362 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6921, allocations: 3.984 kB / 0.7362 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.6922, allocations: 16 kB / 0.7362 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6922, allocations: 0 / 0.7362 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.6922, allocations: 19.97 kB / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.6922, allocations: 11.89 kB / 0.7362 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6922, allocations: 0 / 0.7362 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.693, allocations: 459.3 kB / 0.7366 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.6931, allocations: 96.84 kB / 0.7367 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.6931, allocations: 20 kB / 0.7368 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.6932, allocations: 19.97 kB / 0.7368 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.6933, allocations: 27.86 kB / 0.7368 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.6934, allocations: 19.97 kB / 0.7368 GB, free: 2.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.6935, allocations: 118.3 kB / 0.7369 GB, free: 2.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6935, allocations: 4 kB / 0.7369 GB, free: 2.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003033/0.6938, allocations: 72 kB / 0.737 GB, free: 1.957 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.0001971/0.694, allocations: 139.2 kB / 0.7371 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009116/0.6949, allocations: 0.7004 MB / 0.7378 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6949, allocations: 0 / 0.7378 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.6952, allocations: 163.8 kB / 0.738 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.6954, allocations: 26.58 kB / 0.738 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.6962, allocations: 413 kB / 0.7384 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6966, allocations: 0.7168 MB / 0.7391 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.6966, allocations: 13.42 kB / 0.7391 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.6967, allocations: 19.38 kB / 0.7391 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.6967, allocations: 0 / 0.7391 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.006596/0.7033, allocations: 3.208 MB / 0.7423 GB, free: 12.52 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: