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.741/1.741, allocations: 287.4 MB / 303.2 MB, free: 8.176 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.001073/0.001073, allocations: 187 kB / 371.8 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 1.826/1.826, allocations: 205.4 MB / 0.6305 GB, free: 10.49 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.001062/0.001062, allocations: 101.8 kB / 0.7438 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 9.656 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3265, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001931/0.3285, allocations: 1.132 MB / 0.9804 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.3294, allocations: 466.9 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.3294, allocations: 0 / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.305e-05/0.3295, allocations: 11.92 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.3296, allocations: 7.938 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007103/0.3303, allocations: 186.4 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3305, allocations: 127.7 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.3306, allocations: 4 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.626e-05/0.3306, allocations: 51.91 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.3307, allocations: 47.77 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.3308, allocations: 4 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.331, allocations: 151.8 kB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.3311, allocations: 35.84 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3311, allocations: 41.64 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3314, allocations: 168 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3314, allocations: 0 / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3314, allocations: 0 / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3314, allocations: 4 kB / 0.9816 GB, free: 25.78 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.000546/0.332, allocations: 415.1 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.332, allocations: 8.031 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.3321, allocations: 20.75 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3323, allocations: 205.2 kB / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3324, allocations: 12.38 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3324, allocations: 12.31 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3326, allocations: 87.89 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3326, allocations: 192 / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3326, allocations: 3.938 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.3326, allocations: 0 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.3327, allocations: 39.97 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.3329, allocations: 230.4 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.333, allocations: 89.17 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.3331, allocations: 53.8 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3331, allocations: 4 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.3333, allocations: 110.6 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3333, allocations: 4 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003201/0.3337, allocations: 181.5 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3337, allocations: 93.03 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3338, allocations: 146.8 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3339, allocations: 33.7 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.3339, allocations: 100.5 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.334, allocations: 39.45 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.334, allocations: 0 / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.3341, allocations: 334.8 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.3342, allocations: 35.98 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3343, allocations: 203.4 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3344, allocations: 97.58 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3345, allocations: 3.984 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000191/0.3347, allocations: 157.4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3347, allocations: 4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.3347, allocations: 4 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3347, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.3348, allocations: 15.98 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3348, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.3351, allocations: 93.58 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3351, allocations: 11.94 kB / 0.9843 GB, free: 22.68 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.0001201/0.3353, allocations: 137.8 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3353, allocations: 15.75 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.3353, allocations: 12.72 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3353, allocations: 0 / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3353, allocations: 4 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.3354, allocations: 85.02 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3354, allocations: 11.98 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.3355, allocations: 8 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3355, allocations: 3.984 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002274/0.3358, allocations: 312.7 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002195/0.336, allocations: 401.9 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.626e-05/0.3361, allocations: 35.98 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.3361, allocations: 122.6 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of Backend: time 4.41e-07/0.3361, allocations: 0 / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.3368, allocations: 273.6 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005036/0.3373, allocations: 0.6546 MB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.005057/0.3424, allocations: 2.388 MB / 0.9887 GB, free: 18.15 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)