Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.873/1.873, allocations: 287.5 MB / 302.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001102, allocations: 176.5 kB / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008904/0.0008903, allocations: 95.52 kB / 0.7432 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 11 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3087, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00226/0.311, allocations: 1.136 MB / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3121, allocations: 466.9 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.3122, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.953e-05/0.3123, allocations: 3.938 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.3124, allocations: 11.92 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009977/0.3134, allocations: 187.2 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.3137, allocations: 123.7 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.3138, allocations: 7.938 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.3139, allocations: 55.89 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.314, allocations: 39.78 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.314, allocations: 8 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.3144, allocations: 147.8 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.3145, allocations: 35.88 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.3146, allocations: 53.64 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.3149, allocations: 156 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.3149, allocations: 0 / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.315, allocations: 4 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.315, allocations: 0 / 0.981 GB, free: 25.77 MB / 0.6198 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.0008002/0.3158, allocations: 419.2 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.3159, allocations: 12.03 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.962e-05/0.316, allocations: 20.75 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3162, allocations: 202.4 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3163, allocations: 8.375 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.3163, allocations: 12.31 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.3165, allocations: 87.88 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3165, allocations: 192 / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3166, allocations: 3.938 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3166, allocations: 4 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.3167, allocations: 31.98 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.317, allocations: 242.4 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3171, allocations: 81.17 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/0.3172, allocations: 57.8 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.3172, allocations: 0 / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.3174, allocations: 113 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.3175, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003688/0.3178, allocations: 189.5 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3179, allocations: 85.05 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.318, allocations: 151.5 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.3181, allocations: 33.7 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.3181, allocations: 104.5 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.3182, allocations: 43.45 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.3182, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.3183, allocations: 330.8 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.3184, allocations: 35.98 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3185, allocations: 199.4 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3187, allocations: 97.56 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3187, allocations: 4 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002151/0.3189, allocations: 153.4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.319, allocations: 8 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.319, allocations: 11.92 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.319, allocations: 4 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3191, allocations: 8 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3191, allocations: 4 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.3194, allocations: 89.86 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3195, allocations: 4 kB / 0.9837 GB, free: 22.66 MB / 0.6198 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3196, allocations: 141.8 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3196, allocations: 19.75 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.3197, allocations: 16.7 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3197, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3197, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3197, allocations: 4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.3198, allocations: 185.6 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3198, allocations: 11.92 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.3199, allocations: 4 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3199, allocations: 4 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3199, allocations: 0 / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3199, allocations: 4 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3199, allocations: 4 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.3202, allocations: 180 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3202, allocations: 96.8 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3202, allocations: 3.984 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.3203, allocations: 4 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3204, allocations: 12 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3204, allocations: 7.984 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.3204, allocations: 107.2 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3205, allocations: 0 / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000325/0.3208, allocations: 79.98 kB / 0.9846 GB, free: 21.7 MB / 0.6198 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 (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.0002699/0.3211, allocations: 164.8 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3213, allocations: 167.2 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3214, allocations: 4 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.3214, allocations: 43.92 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.3216, allocations: 12.62 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.3221, allocations: 246.5 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3223, allocations: 0.7004 MB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.513e-05/0.3224, allocations: 4.672 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.3224, allocations: 15.44 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.3224, allocations: 0 / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.005658/0.3281, allocations: 2.334 MB / 0.9882 GB, free: 17.97 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)