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 2.696/2.696, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001607/0.001607, allocations: 177.4 kB / 370.8 MB, free: 10.86 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.191/2.191, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001342/0.001342, allocations: 97.83 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006543/0.0006547, allocations: 11.56 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2258, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003917/0.2298, allocations: 1.12 MB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2313, allocations: 455.8 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.2314, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.379e-05/0.2315, allocations: 7.984 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.2316, allocations: 7.984 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.233, allocations: 194.9 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.2335, allocations: 83.91 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2336, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.2339, allocations: 59.83 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2342, allocations: 43.89 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.2343, allocations: 4 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.2348, allocations: 139.8 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.235, allocations: 31.89 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2351, allocations: 45.64 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.2357, allocations: 156 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2357, allocations: 4 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2357, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2357, allocations: 3.938 kB / 0.9805 GB, free: 26.05 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.0008441/0.2366, allocations: 419 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.2367, allocations: 15.95 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2368, allocations: 19.81 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.2371, allocations: 200.8 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.2372, allocations: 8 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.2373, allocations: 19.94 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2383, allocations: 79.38 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.2384, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.2385, allocations: 4 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2385, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.2388, allocations: 31.98 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.2397, allocations: 246.3 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.24, allocations: 77.25 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.24, allocations: 7.984 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.2403, allocations: 109.1 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/0.2403, allocations: 0 / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005107/0.2408, allocations: 347.7 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.2409, allocations: 85.09 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.241, allocations: 155.6 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2411, allocations: 37.7 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2412, allocations: 104.5 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.2412, allocations: 35.55 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.2412, allocations: 4 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.2413, allocations: 326.8 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.2414, allocations: 40.17 kB / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.2417, allocations: 195.7 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.2418, allocations: 63.86 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2418, allocations: 0 / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003042/0.2422, allocations: 157.4 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2422, allocations: 7.984 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.2422, allocations: 4 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2422, allocations: 4 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.2424, allocations: 15.94 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2424, allocations: 4 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.2429, allocations: 83.84 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.243, allocations: 7.953 kB / 0.9832 GB, free: 22.85 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.0001345/0.2431, allocations: 133.8 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.2431, allocations: 11.81 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.2436, allocations: 20.7 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2436, allocations: 0 / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.2436, allocations: 0 / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.2436, allocations: 3.938 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2439, allocations: 197.6 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2439, allocations: 0 / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.244, allocations: 7.938 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.244, allocations: 4 kB / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.244, allocations: 0 / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2441, allocations: 0 / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2441, allocations: 0 / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.2447, allocations: 208 kB / 0.9838 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.2448, allocations: 88.95 kB / 0.9839 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.2448, allocations: 3.984 kB / 0.9839 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.245, allocations: 8 kB / 0.9839 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.2451, allocations: 7.938 kB / 0.9839 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.2451, allocations: 7.984 kB / 0.9839 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001562/0.2453, allocations: 115.7 kB / 0.984 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2453, allocations: 0 / 0.984 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008845/0.2462, allocations: 72 kB / 0.9841 GB, free: 21.88 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.0005388/0.2468, allocations: 164.7 kB / 0.9842 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.2474, allocations: 163.2 kB / 0.9844 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2474, allocations: 0 / 0.9844 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2477, allocations: 43.98 kB / 0.9844 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.2481, allocations: 11.27 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.2489, allocations: 240.3 kB / 0.9847 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2492, allocations: 0.7083 MB / 0.9854 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.2493, allocations: 16.86 kB / 0.9854 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.2494, allocations: 19.44 kB / 0.9854 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2494, allocations: 0 / 0.9854 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.01405/0.2634, allocations: 2.31 MB / 0.9877 GB, free: 18.16 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)