Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.009268/0.009268, allocations: 110.5 kB / 15.7 MB, free: 5.527 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.001284/0.001285, allocations: 198.2 kB / 16.64 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.025/2.025, allocations: 292.3 MB / 0.549 GB, free: 17.45 MB / 462.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.001474/0.001474, allocations: 63.91 kB / 0.6723 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3232, allocations: 114.6 MB / 0.7841 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002926/0.3262, allocations: 1.425 MB / 0.7855 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.3272, allocations: 0.4905 MB / 0.786 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3273, allocations: 4 kB / 0.786 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.3274, allocations: 3.938 kB / 0.786 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.3274, allocations: 15.86 kB / 0.786 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.3282, allocations: 229 kB / 0.7862 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3284, allocations: 151.8 kB / 0.7864 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.3285, allocations: 4 kB / 0.7864 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.176e-05/0.3286, allocations: 59.91 kB / 0.7864 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.3287, allocations: 43.81 kB / 0.7865 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3287, allocations: 12 kB / 0.7865 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.329, allocations: 159.8 kB / 0.7866 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.3291, allocations: 35.91 kB / 0.7867 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.3292, allocations: 63.69 kB / 0.7867 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.3295, allocations: 231.4 kB / 0.787 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3295, allocations: 0 / 0.787 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3295, allocations: 4 kB / 0.787 GB, free: 216 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3295, allocations: 4 kB / 0.787 GB, free: 212 kB / 0.6544 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.61/0.9396, allocations: 439.1 kB / 0.7874 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/0.9397, allocations: 9.562 kB / 0.7874 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.9398, allocations: 13.44 kB / 0.7874 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.9401, allocations: 209.5 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.9401, allocations: 13.25 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.9401, allocations: 9 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.9403, allocations: 82.3 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9404, allocations: 6.547 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.9404, allocations: 9.812 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.9404, allocations: 0 / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.9405, allocations: 35.19 kB / 0.7878 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.9408, allocations: 236 kB / 0.788 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.9409, allocations: 77.05 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.941, allocations: 56.92 kB / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.941, allocations: 0.9062 kB / 0.7881 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.9414, allocations: 110.5 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.9414, allocations: 1.344 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0004163/0.9418, allocations: 184.8 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.9419, allocations: 88.53 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.9421, allocations: 149.9 kB / 0.7886 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.9421, allocations: 36.77 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.9422, allocations: 102.1 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.9422, allocations: 38.59 kB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.9423, allocations: 52.41 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.9424, allocations: 324.7 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.9425, allocations: 42.64 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.9427, allocations: 198.8 kB / 0.7894 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.9429, allocations: 96.31 kB / 0.7895 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9429, allocations: 0 / 0.7895 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002418/0.9431, allocations: 161.5 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.9431, allocations: 7.25 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.9432, allocations: 3.344 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.9432, allocations: 0.5312 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.9433, allocations: 14.05 kB / 0.7897 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9434, allocations: 2.281 kB / 0.7897 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.9436, allocations: 76.34 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.9437, allocations: 4.719 kB / 0.7897 GB, free: 47.28 MB / 0.6544 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.0001419/0.9438, allocations: 147.2 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.9438, allocations: 11.66 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.9439, allocations: 12.66 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9439, allocations: 5.719 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.9439, allocations: 2.219 kB / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9439, allocations: 0 / 0.7899 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.9441, allocations: 198.1 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9441, allocations: 3.938 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.9442, allocations: 10.31 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9442, allocations: 0 / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.9442, allocations: 3.406 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.9442, allocations: 4.047 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9442, allocations: 3.25 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.9445, allocations: 177.9 kB / 0.7903 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.9445, allocations: 102.1 kB / 0.7904 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.9446, allocations: 0 / 0.7904 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.285e-05/0.9446, allocations: 11.61 kB / 0.7904 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.9447, allocations: 10.91 kB / 0.7904 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.9447, allocations: 2.625 kB / 0.7904 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.9448, allocations: 113.9 kB / 0.7905 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9448, allocations: 0.6562 kB / 0.7905 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003582/0.9451, allocations: 73.72 kB / 0.7906 GB, free: 46.7 MB / 0.6544 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.0002717/0.9454, allocations: 170.2 kB / 0.7907 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.9457, allocations: 167.8 kB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9457, allocations: 0 / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.9458, allocations: 42 kB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.946, allocations: 10.47 kB / 0.791 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.9465, allocations: 224.9 kB / 0.7912 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.9467, allocations: 0.7032 MB / 0.7919 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.316e-05/0.9468, allocations: 12.3 kB / 0.7919 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.9468, allocations: 12.69 kB / 0.7919 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.9468, allocations: 3.562 kB / 0.7919 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.006124/0.9529, allocations: 2.52 MB / 0.7943 GB, free: 45.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)