Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2597/0.2604, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002337/0.2628, allocations: 1.165 MB / 0.5952 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.264, allocations: 451.7 kB / 0.5957 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.264, allocations: 0 / 0.5957 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.2641, allocations: 7.938 kB / 0.5957 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.2643, allocations: 15.91 kB / 0.5957 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.2651, allocations: 222.5 kB / 0.5959 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.2655, allocations: 279.6 kB / 0.5962 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.761e-05/0.2656, allocations: 8.234 kB / 0.5962 GB, free: 3.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.2658, allocations: 115.8 kB / 0.5963 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.266, allocations: 99.67 kB / 0.5964 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.2661, allocations: 16 kB / 0.5964 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.2662, allocations: 39.98 kB / 0.5964 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.2663, allocations: 19.92 kB / 0.5965 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.2665, allocations: 129.3 kB / 0.5966 GB, free: 3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.2669, allocations: 243.6 kB / 0.5968 GB, free: 2.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2669, allocations: 0 / 0.5968 GB, free: 2.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.2669, allocations: 0 / 0.5968 GB, free: 2.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2669, allocations: 3.938 kB / 0.5968 GB, free: 2.758 MB / 446.1 MB 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.0007117/0.2677, allocations: 0.5253 MB / 0.5973 GB, free: 2.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2677, allocations: 12.03 kB / 0.5973 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2678, allocations: 32.75 kB / 0.5974 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.2682, allocations: 240.1 kB / 0.5976 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.2682, allocations: 16.38 kB / 0.5976 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/0.2683, allocations: 24.38 kB / 0.5976 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.2687, allocations: 173.6 kB / 0.5978 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2687, allocations: 4.172 kB / 0.5978 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.2688, allocations: 11.94 kB / 0.5978 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2688, allocations: 4 kB / 0.5978 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.269, allocations: 91.89 kB / 0.5979 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.2695, allocations: 335.9 kB / 0.5982 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.2699, allocations: 242.6 kB / 0.5985 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2702, allocations: 191.4 kB / 0.5987 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2702, allocations: 4 kB / 0.5987 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.2708, allocations: 334.1 kB / 0.599 GB, free: 272 kB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.2708, allocations: 0 / 0.599 GB, free: 272 kB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.001031/0.2718, allocations: 480.7 kB / 0.5994 GB, free: 15.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/0.2721, allocations: 314.6 kB / 0.5997 GB, free: 15.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2722, allocations: 155.8 kB / 0.5999 GB, free: 15.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.2723, allocations: 42.02 kB / 0.5999 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.2724, allocations: 104.6 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.2725, allocations: 63.19 kB / 0.6001 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.2725, allocations: 45.7 kB / 0.6001 GB, free: 14.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2727, allocations: 330.8 kB / 0.6004 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.273, allocations: 187.9 kB / 0.6006 GB, free: 14.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.2733, allocations: 239.6 kB / 0.6009 GB, free: 14.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.2738, allocations: 441.2 kB / 0.6013 GB, free: 13.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2738, allocations: 0 / 0.6013 GB, free: 13.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001127/0.275, allocations: 0.8169 MB / 0.6021 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.2751, allocations: 150.7 kB / 0.6022 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2751, allocations: 4 kB / 0.6022 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2751, allocations: 4.062 kB / 0.6022 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2753, allocations: 15.94 kB / 0.6022 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2753, allocations: 3.984 kB / 0.6022 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.276, allocations: 131.6 kB / 0.6024 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.276, allocations: 23.98 kB / 0.6024 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (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,$whenCondition4,$whenCondition3,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,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002453/0.2763, allocations: 232.7 kB / 0.6026 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.2763, allocations: 35.69 kB / 0.6026 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2764, allocations: 12.66 kB / 0.6027 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.2764, allocations: 7.984 kB / 0.6027 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2764, allocations: 4 kB / 0.6027 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2764, allocations: 3.984 kB / 0.6027 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.2766, allocations: 257.4 kB / 0.6029 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2767, allocations: 0 / 0.6029 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.2767, allocations: 7.984 kB / 0.6029 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2767, allocations: 3.938 kB / 0.6029 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.2767, allocations: 16 kB / 0.6029 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2767, allocations: 4 kB / 0.6029 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2768, allocations: 4 kB / 0.603 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.2774, allocations: 480 kB / 0.6034 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.2774, allocations: 88.92 kB / 0.6035 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.2775, allocations: 19.94 kB / 0.6035 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.2779, allocations: 64.11 kB / 0.6036 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.278, allocations: 15.98 kB / 0.6036 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.278, allocations: 19.94 kB / 0.6036 GB, free: 11.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.2781, allocations: 114.2 kB / 0.6037 GB, free: 11.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2781, allocations: 0 / 0.6037 GB, free: 11.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.2785, allocations: 88 kB / 0.6038 GB, free: 10.97 MB / 462.1 MB 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,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002005/0.2787, allocations: 136.8 kB / 0.6039 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2797, allocations: 0.8762 MB / 0.6048 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2797, allocations: 4.125 kB / 0.6048 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/0.2802, allocations: 0.5612 MB / 0.6053 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.2805, allocations: 30.75 kB / 0.6054 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007399/0.2812, allocations: 433.3 kB / 0.6058 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2816, allocations: 0.7133 MB / 0.6065 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.2816, allocations: 8.656 kB / 0.6065 GB, free: 8.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.2816, allocations: 15.44 kB / 0.6065 GB, free: 8.062 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2816, allocations: 0 / 0.6065 GB, free: 8.062 MB / 462.1 MB Notification: Performance of Templates: time 0.008461/0.2901, allocations: 3.819 MB / 0.6102 GB, free: 4.312 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) Environment - environmentSimulation: