Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 176.8 kB / 327.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 88.23 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 10.88 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 106.3 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001894/0.2337, allocations: 1.168 MB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.2347, allocations: 438.9 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.2348, allocations: 3.938 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.61e-05/0.2349, allocations: 3.984 kB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.2352, allocations: 23.86 kB / 0.903 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.2359, allocations: 204.6 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.2362, allocations: 283.7 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.867e-05/0.2362, allocations: 8.219 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.2365, allocations: 139.7 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.2367, allocations: 119.6 kB / 0.9038 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.2368, allocations: 16 kB / 0.9038 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.237, allocations: 43.98 kB / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.2371, allocations: 43.88 kB / 0.9039 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.2372, allocations: 133.4 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.2375, allocations: 175.6 kB / 0.9042 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2375, allocations: 3.938 kB / 0.9042 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2375, allocations: 0 / 0.9042 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2375, allocations: 0 / 0.9042 GB, free: 60.76 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.0008998/0.2384, allocations: 0.5219 MB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2385, allocations: 8.031 kB / 0.9047 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2386, allocations: 32.73 kB / 0.9047 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2389, allocations: 254.4 kB / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.239, allocations: 24.34 kB / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.239, allocations: 32.36 kB / 0.905 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.2395, allocations: 261.3 kB / 0.9052 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2395, allocations: 192 / 0.9052 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.2395, allocations: 7.938 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2396, allocations: 0 / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.2398, allocations: 111.8 kB / 0.9054 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.2402, allocations: 371.9 kB / 0.9057 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.2406, allocations: 246.8 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.2409, allocations: 127.4 kB / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2409, allocations: 4 kB / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.2414, allocations: 288.3 kB / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.2414, allocations: 0 / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.001017/0.2424, allocations: 0.5362 MB / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.2425, allocations: 140.5 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2426, allocations: 156 kB / 0.9072 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.2426, allocations: 45.69 kB / 0.9072 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.2427, allocations: 100.6 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.2428, allocations: 63.19 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.2428, allocations: 12 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.2429, allocations: 339.1 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.2431, allocations: 175.9 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.2434, allocations: 219.1 kB / 0.9081 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.2437, allocations: 313.1 kB / 0.9084 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2437, allocations: 0 / 0.9084 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008876/0.2446, allocations: 0.7336 MB / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.2447, allocations: 91.31 kB / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2447, allocations: 0 / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2447, allocations: 4 kB / 0.9092 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2448, allocations: 15.98 kB / 0.9092 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2448, allocations: 3.938 kB / 0.9092 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.2452, allocations: 91.72 kB / 0.9093 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.2453, allocations: 20 kB / 0.9093 GB, free: 55.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.2454, allocations: 156.4 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.2455, allocations: 23.75 kB / 0.9095 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.2455, allocations: 24.7 kB / 0.9095 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2455, allocations: 4 kB / 0.9095 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2455, allocations: 0 / 0.9095 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2456, allocations: 0 / 0.9095 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.2457, allocations: 265.4 kB / 0.9098 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2457, allocations: 0 / 0.9098 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.2458, allocations: 15.98 kB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.2458, allocations: 7.875 kB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.2458, allocations: 11.97 kB / 0.9098 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2459, allocations: 4 kB / 0.9098 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2459, allocations: 8 kB / 0.9098 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.2465, allocations: 474.5 kB / 0.9103 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.2466, allocations: 96.86 kB / 0.9103 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.2466, allocations: 19.92 kB / 0.9104 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2468, allocations: 23.97 kB / 0.9104 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.2468, allocations: 23.97 kB / 0.9104 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2469, allocations: 15.98 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.2469, allocations: 116.8 kB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2469, allocations: 0 / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000319/0.2473, allocations: 79.98 kB / 0.9106 GB, free: 53.67 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 (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.0001697/0.2474, allocations: 143.1 kB / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.2482, allocations: 0.6977 MB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2482, allocations: 0 / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.2485, allocations: 165.3 kB / 0.9116 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.2487, allocations: 19.92 kB / 0.9116 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.2494, allocations: 452.6 kB / 0.912 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2496, allocations: 0.7169 MB / 0.9127 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.2496, allocations: 19.38 kB / 0.9128 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2496, allocations: 0 / 0.9128 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.004624/0.2542, allocations: 3.068 MB / 0.9158 GB, free: 48.32 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)