Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001448/0.001448, 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.001861/0.001861, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 55.48 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5017, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00367/0.5054, allocations: 1.413 MB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.5067, allocations: 0.4965 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.5067, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.5069, allocations: 3.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.507, allocations: 19.91 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.5079, allocations: 238.7 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.5082, allocations: 143.7 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.5083, allocations: 4 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.5084, allocations: 59.89 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.5085, allocations: 43.83 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.5085, allocations: 8 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.5089, allocations: 171.8 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.509, allocations: 39.89 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.5091, allocations: 51.73 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.5095, allocations: 231.8 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.5095, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5095, allocations: 3.938 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.547e-06/0.5095, allocations: 0 / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008385/0.5104, allocations: 447 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5104, allocations: 12.03 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.5105, allocations: 12.84 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.5108, allocations: 206.1 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.5109, allocations: 16.36 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.5109, allocations: 8.375 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.5111, allocations: 79.95 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5111, allocations: 192 / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.5112, allocations: 11.94 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.5112, allocations: 4 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.5113, allocations: 39.92 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.5116, allocations: 230.5 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.5118, allocations: 77.28 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.5119, allocations: 53.77 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5119, allocations: 7.938 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.5123, allocations: 113.1 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 4.459e-06/0.5123, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.000416/0.5127, allocations: 189.3 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.5128, allocations: 85.09 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.5129, allocations: 159.7 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.513, allocations: 37.69 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.5131, allocations: 104.5 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.5132, allocations: 35.55 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.5133, allocations: 49.7 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5134, allocations: 326.8 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.5135, allocations: 43.97 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.5138, allocations: 203.9 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.5139, allocations: 97.64 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5139, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002446/0.5142, allocations: 165.3 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.5142, allocations: 5.562 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.5143, allocations: 8.031 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5143, allocations: 3.984 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5144, allocations: 15.92 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5144, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.5147, allocations: 80.88 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5147, allocations: 8 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001406/0.5149, allocations: 133.8 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5149, allocations: 11.84 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.515, allocations: 12.72 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.515, allocations: 8 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.515, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.515, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.5152, allocations: 193.5 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5152, allocations: 3.938 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.5152, allocations: 11.94 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5153, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5153, allocations: 11.98 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.5153, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5153, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.5156, allocations: 178.5 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.5156, allocations: 92.89 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.5157, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.5157, allocations: 8 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5158, allocations: 7.984 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.5158, allocations: 4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.338e-05/0.5159, allocations: 111.2 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.675e-06/0.5159, allocations: 4 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003385/0.5162, allocations: 79.92 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003305/0.5166, allocations: 160.6 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.5169, allocations: 171.5 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5169, allocations: 0 / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.517, allocations: 43.97 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.5172, allocations: 11.88 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.5178, allocations: 239.4 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.5182, allocations: 0.7157 MB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.5182, allocations: 4.859 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.5183, allocations: 15.44 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.5183, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of Templates: time 0.006495/0.5248, allocations: 2.511 MB / 1.078 GB, free: 15.52 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)