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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8614/0.8614, allocations: 133.7 MB / 148.6 MB, free: 13.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001262/0.001261, allocations: 180.1 kB / 180.9 MB, free: 14.93 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.496/1.496, allocations: 170.7 MB / 383.7 MB, free: 16.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001646/0.001646, allocations: 121 kB / 454.6 MB, free: 9.734 MB / 346.7 MB [/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.2068/0.2073, allocations: 73.4 MB / 0.6812 GB, free: 5.582 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6288/0.8361, allocations: 101.9 MB / 0.7807 GB, free: 24.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.8365, allocations: 68.27 kB / 0.7808 GB, free: 24.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.8475, allocations: 3.393 MB / 0.7841 GB, free: 22.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8476, allocations: 4 kB / 0.7841 GB, free: 22.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.8476, allocations: 0 / 0.7841 GB, free: 22.25 MB / 490.7 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.0005153/0.8481, allocations: 0.5392 MB / 0.7846 GB, free: 21.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8482, allocations: 8.562 kB / 0.7846 GB, free: 21.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.8483, allocations: 25.28 kB / 0.7847 GB, free: 21.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.8488, allocations: 268.8 kB / 0.7849 GB, free: 21.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.8488, allocations: 12 kB / 0.7849 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.8489, allocations: 28.09 kB / 0.7849 GB, free: 21.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.8492, allocations: 184 kB / 0.7851 GB, free: 21.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8492, allocations: 3.938 kB / 0.7851 GB, free: 21.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.8492, allocations: 5.594 kB / 0.7851 GB, free: 21.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.8492, allocations: 4 kB / 0.7851 GB, free: 21.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.8494, allocations: 93.42 kB / 0.7852 GB, free: 21.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.8498, allocations: 332.9 kB / 0.7855 GB, free: 20.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.85, allocations: 242.1 kB / 0.7858 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.85, allocations: 0 / 0.7858 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.8504, allocations: 341.6 kB / 0.7861 GB, free: 20.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.8504, allocations: 0 / 0.7861 GB, free: 20.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007603/0.8512, allocations: 0.6176 MB / 0.7867 GB, free: 19.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.8513, allocations: 315.3 kB / 0.787 GB, free: 19.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.8514, allocations: 137.2 kB / 0.7871 GB, free: 19.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.8515, allocations: 47.97 kB / 0.7872 GB, free: 19.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.8515, allocations: 103.3 kB / 0.7873 GB, free: 19.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.8516, allocations: 63.98 kB / 0.7873 GB, free: 19.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.8516, allocations: 8 kB / 0.7873 GB, free: 19.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.8517, allocations: 331.8 kB / 0.7877 GB, free: 18.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.852, allocations: 190.8 kB / 0.7878 GB, free: 18.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.8523, allocations: 238.4 kB / 0.7881 GB, free: 18.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.8526, allocations: 289.8 kB / 0.7883 GB, free: 18.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8526, allocations: 1.359 kB / 0.7884 GB, free: 18.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009526/0.8536, allocations: 0.8058 MB / 0.7891 GB, free: 17.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/0.8537, allocations: 146.7 kB / 0.7893 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8537, allocations: 3.938 kB / 0.7893 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.8537, allocations: 4 kB / 0.7893 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.8538, allocations: 7.75 kB / 0.7893 GB, free: 17.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8538, allocations: 4 kB / 0.7893 GB, free: 17.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.8543, allocations: 100.7 kB / 0.7894 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.8544, allocations: 26.14 kB / 0.7894 GB, free: 17.58 MB / 490.7 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 ($whenCondition3,$whenCondition4,$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,$whenCondition1,$whenCondition2,$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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.8547, allocations: 244.5 kB / 0.7897 GB, free: 17.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.8547, allocations: 24.66 kB / 0.7897 GB, free: 17.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.8548, allocations: 13.53 kB / 0.7897 GB, free: 17.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8548, allocations: 8 kB / 0.7897 GB, free: 17.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.8548, allocations: 0.6094 kB / 0.7897 GB, free: 17.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8548, allocations: 1.969 kB / 0.7897 GB, free: 17.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.8551, allocations: 265.7 kB / 0.79 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8551, allocations: 0 / 0.79 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.8551, allocations: 5.219 kB / 0.79 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8551, allocations: 4 kB / 0.79 GB, free: 17.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.8552, allocations: 14.31 kB / 0.79 GB, free: 17.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.8552, allocations: 4.703 kB / 0.79 GB, free: 17.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8552, allocations: 0 / 0.79 GB, free: 17.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.8558, allocations: 0.4921 MB / 0.7905 GB, free: 16.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.8559, allocations: 89.62 kB / 0.7905 GB, free: 16.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.8559, allocations: 21.33 kB / 0.7906 GB, free: 16.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.8562, allocations: 38.69 kB / 0.7906 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.8563, allocations: 15.5 kB / 0.7906 GB, free: 16.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.8564, allocations: 21.73 kB / 0.7906 GB, free: 16.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.528e-05/0.8564, allocations: 113.4 kB / 0.7907 GB, free: 16.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8565, allocations: 4 kB / 0.7907 GB, free: 16.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.8568, allocations: 93.08 kB / 0.7908 GB, free: 16.29 MB / 490.7 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 (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.0001968/0.857, allocations: 145.5 kB / 0.791 GB, free: 16.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009281/0.858, allocations: 0.8558 MB / 0.7918 GB, free: 15.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.858, allocations: 4.188 kB / 0.7918 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.8584, allocations: 0.5567 MB / 0.7924 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.8586, allocations: 27.94 kB / 0.7924 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.8594, allocations: 419.6 kB / 0.7928 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.8596, allocations: 0.719 MB / 0.7935 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.077e-05/0.8597, allocations: 6.172 kB / 0.7935 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.8597, allocations: 15.92 kB / 0.7935 GB, free: 14.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8597, allocations: 0 / 0.7935 GB, free: 14.2 MB / 490.7 MB Notification: Performance of Templates: time 0.007826/0.8676, allocations: 3.656 MB / 0.7971 GB, free: 11.7 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (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)