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.001127/0.001127, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009949/0.00995, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.816/1.816, allocations: 252 MB / 0.5105 GB, free: 4.637 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.0006255/0.0006259, allocations: 16 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7094, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001968/0.7114, allocations: 1.16 MB / 0.7298 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.7124, allocations: 450.9 kB / 0.7303 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.7124, allocations: 0 / 0.7303 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.195e-05/0.7125, allocations: 4 kB / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.7127, allocations: 27.78 kB / 0.7303 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.7133, allocations: 190.5 kB / 0.7305 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.7136, allocations: 291.7 kB / 0.7308 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/0.7137, allocations: 12.22 kB / 0.7308 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.7139, allocations: 131.7 kB / 0.7309 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.7141, allocations: 127.6 kB / 0.731 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.7142, allocations: 16 kB / 0.731 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.7143, allocations: 35.98 kB / 0.7311 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.7144, allocations: 43.89 kB / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.7146, allocations: 133.4 kB / 0.7312 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.7149, allocations: 253.2 kB / 0.7315 GB, free: 8.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.715, allocations: 0 / 0.7315 GB, free: 8.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.945e-06/0.715, allocations: 0 / 0.7315 GB, free: 8.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.715, allocations: 4 kB / 0.7315 GB, free: 8.375 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.001054/0.716, allocations: 0.5216 MB / 0.732 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7161, allocations: 8.031 kB / 0.732 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.7162, allocations: 28.75 kB / 0.732 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.7165, allocations: 252 kB / 0.7323 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.7166, allocations: 20.38 kB / 0.7323 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.7167, allocations: 40.3 kB / 0.7323 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.7172, allocations: 260.9 kB / 0.7326 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7172, allocations: 192 / 0.7326 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.7173, allocations: 11.86 kB / 0.7326 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.7173, allocations: 4 kB / 0.7326 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.7176, allocations: 103.9 kB / 0.7327 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.7181, allocations: 379.9 kB / 0.7331 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.7185, allocations: 246.8 kB / 0.7333 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.7188, allocations: 127.4 kB / 0.7334 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.7189, allocations: 4 kB / 0.7334 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006101/0.7195, allocations: 278.3 kB / 0.7337 GB, free: 5.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.7195, allocations: 0 / 0.7337 GB, free: 5.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001172/0.7207, allocations: 0.5322 MB / 0.7342 GB, free: 5.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7208, allocations: 144.5 kB / 0.7343 GB, free: 5.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.7209, allocations: 153.7 kB / 0.7345 GB, free: 5.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.721, allocations: 41.7 kB / 0.7345 GB, free: 4.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.7211, allocations: 104.8 kB / 0.7346 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.7212, allocations: 67.17 kB / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.7212, allocations: 45.7 kB / 0.7347 GB, free: 4.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7214, allocations: 330.8 kB / 0.7351 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.7217, allocations: 175.9 kB / 0.7352 GB, free: 4.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.722, allocations: 219.2 kB / 0.7354 GB, free: 4.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.7225, allocations: 306.8 kB / 0.7357 GB, free: 3.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7225, allocations: 4 kB / 0.7357 GB, free: 3.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001097/0.7236, allocations: 0.727 MB / 0.7364 GB, free: 2.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.7237, allocations: 93.64 kB / 0.7365 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7237, allocations: 4 kB / 0.7365 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7237, allocations: 4.062 kB / 0.7365 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.7238, allocations: 23.92 kB / 0.7366 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.7239, allocations: 3.984 kB / 0.7366 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.7243, allocations: 83.67 kB / 0.7366 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.7243, allocations: 27.98 kB / 0.7367 GB, free: 2.691 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.0001815/0.7245, allocations: 156.4 kB / 0.7368 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.7246, allocations: 23.73 kB / 0.7368 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.7246, allocations: 20.66 kB / 0.7369 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.7247, allocations: 4 kB / 0.7369 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.7247, allocations: 7.875 kB / 0.7369 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.7247, allocations: 7.984 kB / 0.7369 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.725, allocations: 257.4 kB / 0.7371 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.725, allocations: 4 kB / 0.7371 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.725, allocations: 16 kB / 0.7371 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.725, allocations: 3.938 kB / 0.7371 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.7251, allocations: 15.97 kB / 0.7372 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7251, allocations: 0 / 0.7372 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7251, allocations: 0 / 0.7372 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.7259, allocations: 471.1 kB / 0.7376 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.726, allocations: 96.86 kB / 0.7377 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.7261, allocations: 23.92 kB / 0.7377 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.7262, allocations: 19.98 kB / 0.7377 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.7263, allocations: 19.97 kB / 0.7378 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.7264, allocations: 27.97 kB / 0.7378 GB, free: 1.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.618e-05/0.7265, allocations: 117.6 kB / 0.7379 GB, free: 1.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7265, allocations: 4 kB / 0.7379 GB, free: 1.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003218/0.7268, allocations: 75.98 kB / 0.738 GB, free: 1.242 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.0002589/0.7271, allocations: 143.1 kB / 0.7381 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001/0.7281, allocations: 0.697 MB / 0.7388 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7281, allocations: 0 / 0.7388 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.7284, allocations: 163.8 kB / 0.7389 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.7287, allocations: 30.12 kB / 0.739 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.7296, allocations: 417 kB / 0.7394 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.73, allocations: 0.7208 MB / 0.7401 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.73, allocations: 9.422 kB / 0.7401 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.7301, allocations: 15.44 kB / 0.7401 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.7301, allocations: 0 / 0.7401 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.007801/0.7379, allocations: 3.321 MB / 0.7433 GB, free: 11.69 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: