Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.495/2.495, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 173.6 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.562/2.562, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008817/0.0008812, allocations: 88.36 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004842, allocations: 12.69 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002033/0.2479, allocations: 1.152 MB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.2489, allocations: 395.2 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.249, allocations: 0 / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.171e-05/0.2491, allocations: 7.938 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.2493, allocations: 11.92 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.2501, allocations: 185.9 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.2504, allocations: 259.7 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.046e-05/0.2505, allocations: 8.234 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.2507, allocations: 135.7 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.251, allocations: 131.7 kB / 0.9012 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.251, allocations: 15.94 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2512, allocations: 39.98 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.2513, allocations: 43.88 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.2514, allocations: 61.64 kB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.2517, allocations: 179.6 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2517, allocations: 0 / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2517, allocations: 4 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2517, allocations: 0 / 0.9016 GB, free: 62.83 MB / 0.6042 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.001162/0.2529, allocations: 0.5183 MB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2529, allocations: 8.031 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.2531, allocations: 28.75 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.2534, allocations: 259.9 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.2535, allocations: 28.36 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.2536, allocations: 24.38 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.2543, allocations: 254 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2544, allocations: 4.188 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.2544, allocations: 15.92 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2544, allocations: 7.938 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.255, allocations: 99.86 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.2555, allocations: 372 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.2561, allocations: 242.6 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.2566, allocations: 131.5 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.2566, allocations: 4 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007753/0.2574, allocations: 283.1 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 3.196e-06/0.2574, allocations: 0 / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.00186/0.2593, allocations: 0.5252 MB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.2594, allocations: 144.5 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.2596, allocations: 155.6 kB / 0.9046 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.2597, allocations: 49.95 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.2598, allocations: 100.6 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.2599, allocations: 63.19 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.2599, allocations: 8 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.26, allocations: 334.8 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.2605, allocations: 175.9 kB / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.2609, allocations: 219.3 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.2614, allocations: 233.6 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2614, allocations: 0 / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001593/0.263, allocations: 0.7308 MB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.2631, allocations: 96.86 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2632, allocations: 4 kB / 0.9065 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2632, allocations: 64 / 0.9065 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2634, allocations: 19.94 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2634, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/0.2641, allocations: 83.75 kB / 0.9066 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.2642, allocations: 23.98 kB / 0.9066 GB, free: 57.29 MB / 0.6042 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.0002446/0.2645, allocations: 156.4 kB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.2645, allocations: 23.75 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.2646, allocations: 24.64 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2646, allocations: 4 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2646, allocations: 0 / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2646, allocations: 4 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.2649, allocations: 265.3 kB / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2649, allocations: 0 / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.265, allocations: 12 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2651, allocations: 11.92 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.2651, allocations: 19.97 kB / 0.9071 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2651, allocations: 0 / 0.9071 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2651, allocations: 0 / 0.9071 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2664, allocations: 474.9 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.2665, allocations: 92.86 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.2666, allocations: 27.92 kB / 0.9077 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.2669, allocations: 11.98 kB / 0.9077 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.267, allocations: 19.97 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.267, allocations: 23.97 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.425e-05/0.2671, allocations: 114.2 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2672, allocations: 0 / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004987/0.2677, allocations: 83.98 kB / 0.9079 GB, free: 55.85 MB / 0.6042 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.0002419/0.2679, allocations: 142.9 kB / 0.9081 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.2693, allocations: 0.7015 MB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2693, allocations: 0 / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.2699, allocations: 159.9 kB / 0.9089 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2702, allocations: 20.16 kB / 0.9089 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2713, allocations: 409.4 kB / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.2716, allocations: 0.7207 MB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.886e-05/0.2716, allocations: 17.36 kB / 0.91 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.2717, allocations: 11.44 kB / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/0.2717, allocations: 4 kB / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.009375/0.2811, allocations: 3.215 MB / 0.9132 GB, free: 50.39 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)