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.2022/0.2042, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003018/0.2073, allocations: 1.438 MB / 0.672 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.2081, allocations: 399 kB / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.2082, allocations: 0 / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.15e-05/0.2083, allocations: 7.922 kB / 0.6724 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.2085, allocations: 19.84 kB / 0.6724 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.2091, allocations: 238.7 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.2095, allocations: 359.5 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.2095, allocations: 8.234 kB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.2097, allocations: 135.8 kB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.2099, allocations: 111.7 kB / 0.6732 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.21, allocations: 28 kB / 0.6733 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.2101, allocations: 59.98 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.2102, allocations: 23.8 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2103, allocations: 119.7 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.2106, allocations: 259.1 kB / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2106, allocations: 0 / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2107, allocations: 4 kB / 0.6737 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2107, allocations: 0 / 0.6737 GB, free: 14.85 MB / 0.5137 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.0006508/0.2113, allocations: 0.5874 MB / 0.6743 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2114, allocations: 12.03 kB / 0.6743 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.2115, allocations: 32.83 kB / 0.6743 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.2118, allocations: 240.1 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.2118, allocations: 12.38 kB / 0.6746 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.2119, allocations: 28.38 kB / 0.6746 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.2122, allocations: 181 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2122, allocations: 4.188 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2122, allocations: 11.94 kB / 0.6748 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.2122, allocations: 0 / 0.6748 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.2124, allocations: 87.89 kB / 0.6749 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.2128, allocations: 340 kB / 0.6752 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.2131, allocations: 238.5 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2133, allocations: 183.4 kB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2133, allocations: 4 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.2137, allocations: 333.5 kB / 0.6759 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.2137, allocations: 0 / 0.6759 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.0007948/0.2145, allocations: 492.8 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.2147, allocations: 310.8 kB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2149, allocations: 157.5 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.2149, allocations: 45.69 kB / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.215, allocations: 104.6 kB / 0.677 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.2151, allocations: 71.45 kB / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.2153, allocations: 81.69 kB / 0.6771 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2154, allocations: 330.8 kB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.2157, allocations: 195.9 kB / 0.6776 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.216, allocations: 231.2 kB / 0.6778 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.2165, allocations: 435.3 kB / 0.6782 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2165, allocations: 4 kB / 0.6783 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001111/0.2176, allocations: 0.8107 MB / 0.679 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.2178, allocations: 154.7 kB / 0.6792 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2178, allocations: 3.984 kB / 0.6792 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2178, allocations: 4.188 kB / 0.6792 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2179, allocations: 7.938 kB / 0.6792 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.218, allocations: 3.938 kB / 0.6792 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.2185, allocations: 99.8 kB / 0.6793 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.2185, allocations: 23.97 kB / 0.6793 GB, free: 8.562 MB / 0.5137 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 (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.0002523/0.2188, allocations: 239.8 kB / 0.6796 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.2189, allocations: 27.88 kB / 0.6796 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.2189, allocations: 8.719 kB / 0.6796 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2189, allocations: 4 kB / 0.6796 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2189, allocations: 4 kB / 0.6796 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2189, allocations: 0 / 0.6796 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.2192, allocations: 261.4 kB / 0.6798 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2192, allocations: 0 / 0.6798 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.2192, allocations: 4 kB / 0.6799 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2193, allocations: 3.938 kB / 0.6799 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.2193, allocations: 19.98 kB / 0.6799 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2193, allocations: 0 / 0.6799 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2193, allocations: 11.94 kB / 0.6799 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.2199, allocations: 474.7 kB / 0.6803 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.22, allocations: 96.94 kB / 0.6804 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.2201, allocations: 15.94 kB / 0.6804 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.2204, allocations: 35.97 kB / 0.6805 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.2204, allocations: 19.97 kB / 0.6805 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.2205, allocations: 19.98 kB / 0.6805 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.2206, allocations: 113.8 kB / 0.6806 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2206, allocations: 0 / 0.6806 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003414/0.2209, allocations: 80 kB / 0.6807 GB, free: 7.016 MB / 0.5137 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,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.0002214/0.2211, allocations: 147 kB / 0.6808 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.2222, allocations: 0.8809 MB / 0.6817 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2222, allocations: 0 / 0.6817 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.2227, allocations: 0.5651 MB / 0.6823 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.223, allocations: 23.94 kB / 0.6823 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.2238, allocations: 410 kB / 0.6827 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2241, allocations: 0.7121 MB / 0.6834 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2242, allocations: 12.66 kB / 0.6834 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.2242, allocations: 15.44 kB / 0.6834 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.2242, allocations: 3.938 kB / 0.6834 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of Templates: time 0.01024/0.2345, allocations: 4.163 MB / 0.6875 GB, free: 0 / 0.5137 GB 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)