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.389/1.389, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001138/0.001138, allocations: 174.4 kB / 326.5 MB, free: 2.676 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.131/2.131, allocations: 205 MB / 0.5766 GB, free: 20.98 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.001033/0.001033, allocations: 89.72 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 10.28 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001676/0.2651, allocations: 1.175 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007852/0.2659, allocations: 455.6 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.266, allocations: 0 / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.028e-05/0.2661, allocations: 7.922 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.2663, allocations: 11.92 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.2668, allocations: 214 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.267, allocations: 287.6 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.2671, allocations: 16.16 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.2672, allocations: 131.7 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2674, allocations: 119.7 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.2674, allocations: 12 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.2675, allocations: 43.98 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.2676, allocations: 43.81 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2677, allocations: 107.7 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2679, allocations: 183.6 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.268, allocations: 0 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.268, allocations: 0 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.268, allocations: 0 / 0.8994 GB, free: 65.38 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.0008636/0.2688, allocations: 0.5216 MB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2689, allocations: 8.031 kB / 0.9 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.269, allocations: 28.75 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.2693, allocations: 248.1 kB / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.2693, allocations: 20.36 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.2694, allocations: 32.36 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.2698, allocations: 255.8 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2699, allocations: 4.125 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.2699, allocations: 7.922 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2699, allocations: 4 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.2702, allocations: 103.9 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.2705, allocations: 388.7 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.2709, allocations: 238.6 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2711, allocations: 143.5 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2712, allocations: 4 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.2717, allocations: 281.2 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.2717, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0009816/0.2727, allocations: 0.5245 MB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.2727, allocations: 148.4 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.2728, allocations: 155.8 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.2729, allocations: 45.7 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.2729, allocations: 100.8 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.273, allocations: 67.19 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.2731, allocations: 45.7 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.2731, allocations: 330.8 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.2734, allocations: 179.9 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.2736, allocations: 215.1 kB / 0.9034 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.2739, allocations: 317.5 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2739, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007967/0.2747, allocations: 0.7294 MB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.2748, allocations: 99.25 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2748, allocations: 0 / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2749, allocations: 0 / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.275, allocations: 20.05 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.275, allocations: 4 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.2754, allocations: 83.66 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.2754, allocations: 20 kB / 0.9046 GB, free: 59.7 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 (occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition4,$whenCondition3,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition2,$whenCondition1) * 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.0001326/0.2756, allocations: 165 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.2756, allocations: 19.75 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.2756, allocations: 20.7 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2757, allocations: 4 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2757, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2757, allocations: 4 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.2759, allocations: 261.4 kB / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2759, allocations: 4 kB / 0.9051 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.2759, allocations: 19.92 kB / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.2759, allocations: 11.94 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.276, allocations: 11.97 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.276, allocations: 0 / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.276, allocations: 0 / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.2766, allocations: 471.1 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.2767, allocations: 100.9 kB / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.2768, allocations: 19.92 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2769, allocations: 23.97 kB / 0.9057 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.277, allocations: 23.91 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.277, allocations: 23.92 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.2771, allocations: 115.2 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2771, allocations: 0 / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002747/0.2773, allocations: 79.98 kB / 0.9059 GB, free: 58.24 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.0001735/0.2775, allocations: 143.1 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007379/0.2783, allocations: 0.6913 MB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2783, allocations: 0 / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.2786, allocations: 163.8 kB / 0.9069 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.2788, allocations: 24.91 kB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.2795, allocations: 454.2 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2797, allocations: 0.713 MB / 0.908 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.2797, allocations: 15.44 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2797, allocations: 0 / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.004801/0.2845, allocations: 3.077 MB / 0.9111 GB, free: 52.9 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)