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.1787/0.1794, allocations: 82.21 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001595/0.1811, allocations: 1.14 MB / 0.5945 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006318/0.1817, allocations: 352 kB / 0.5948 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1818, allocations: 0 / 0.5948 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.797e-05/0.1818, allocations: 11.92 kB / 0.5948 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.182, allocations: 15.92 kB / 0.5948 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.1825, allocations: 206.2 kB / 0.595 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1827, allocations: 155.7 kB / 0.5952 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.853e-05/0.1828, allocations: 8.219 kB / 0.5952 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1829, allocations: 127.8 kB / 0.5953 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1831, allocations: 87.75 kB / 0.5954 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.1831, allocations: 20 kB / 0.5954 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.1832, allocations: 31.98 kB / 0.5954 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.1833, allocations: 23.91 kB / 0.5955 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.1833, allocations: 61.64 kB / 0.5955 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1835, allocations: 171.9 kB / 0.5957 GB, free: 3.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1835, allocations: 0 / 0.5957 GB, free: 3.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1835, allocations: 0 / 0.5957 GB, free: 3.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1836, allocations: 4 kB / 0.5957 GB, free: 3.621 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.0004836/0.184, allocations: 0.5358 MB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1841, allocations: 12.03 kB / 0.5962 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.1842, allocations: 27.81 kB / 0.5963 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1845, allocations: 238.8 kB / 0.5965 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.1845, allocations: 16 kB / 0.5965 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.1846, allocations: 31.95 kB / 0.5965 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.1849, allocations: 169 kB / 0.5967 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1849, allocations: 0 / 0.5967 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.1849, allocations: 16 kB / 0.5967 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1849, allocations: 0 / 0.5967 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1851, allocations: 87.89 kB / 0.5968 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.1854, allocations: 336.1 kB / 0.5971 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.1856, allocations: 242.4 kB / 0.5973 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1857, allocations: 4.031 kB / 0.5973 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.1861, allocations: 338 kB / 0.5977 GB, free: 1.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.1861, allocations: 0 / 0.5977 GB, free: 1.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007903/0.1869, allocations: 0.6239 MB / 0.5983 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.187, allocations: 306.7 kB / 0.5986 GB, free: 288 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1871, allocations: 155.6 kB / 0.5987 GB, free: 124 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.1872, allocations: 45.69 kB / 0.5988 GB, free: 72 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.1873, allocations: 100.6 kB / 0.5989 GB, free: 15.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.1874, allocations: 67.5 kB / 0.5989 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.1874, allocations: 12 kB / 0.5989 GB, free: 15.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1875, allocations: 334.8 kB / 0.5992 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.1878, allocations: 191.8 kB / 0.5994 GB, free: 15.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.1881, allocations: 227.3 kB / 0.5996 GB, free: 15.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.1884, allocations: 296.7 kB / 0.5999 GB, free: 14.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1884, allocations: 0 / 0.5999 GB, free: 14.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001009/0.1894, allocations: 0.8179 MB / 0.6007 GB, free: 13.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.1895, allocations: 146.9 kB / 0.6009 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1896, allocations: 7.938 kB / 0.6009 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1896, allocations: 0 / 0.6009 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1897, allocations: 15.94 kB / 0.6009 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1897, allocations: 7.969 kB / 0.6009 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.1903, allocations: 131.8 kB / 0.601 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.1904, allocations: 19.98 kB / 0.601 GB, free: 13.62 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 ($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.0002063/0.1906, allocations: 251.7 kB / 0.6013 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1907, allocations: 23.81 kB / 0.6013 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.1907, allocations: 8.719 kB / 0.6013 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1907, allocations: 4 kB / 0.6013 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1907, allocations: 4 kB / 0.6013 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1907, allocations: 3.984 kB / 0.6013 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1909, allocations: 265.3 kB / 0.6016 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1909, allocations: 0 / 0.6016 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.191, allocations: 7.984 kB / 0.6016 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.191, allocations: 4 kB / 0.6016 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.191, allocations: 12 kB / 0.6016 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.191, allocations: 0 / 0.6016 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.191, allocations: 7.938 kB / 0.6016 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.1916, allocations: 0.4989 MB / 0.6021 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.1917, allocations: 88.92 kB / 0.6022 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1917, allocations: 16 kB / 0.6022 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.1921, allocations: 63.92 kB / 0.6023 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.1922, allocations: 19.94 kB / 0.6023 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1922, allocations: 12 kB / 0.6023 GB, free: 12.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.1923, allocations: 122.2 kB / 0.6024 GB, free: 12.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1923, allocations: 0 / 0.6024 GB, free: 12.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1926, allocations: 84 kB / 0.6025 GB, free: 12.01 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 (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.000181/0.1928, allocations: 151.6 kB / 0.6026 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009098/0.1937, allocations: 0.8684 MB / 0.6035 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1937, allocations: 0 / 0.6035 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.1942, allocations: 0.5692 MB / 0.604 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1943, allocations: 16 kB / 0.604 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.195, allocations: 433 kB / 0.6045 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1952, allocations: 0.7211 MB / 0.6052 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.1953, allocations: 9.031 kB / 0.6052 GB, free: 9.109 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.1953, allocations: 11.44 kB / 0.6052 GB, free: 9.098 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1953, allocations: 4 kB / 0.6052 GB, free: 9.094 MB / 462.1 MB Notification: Performance of Templates: time 0.006519/0.2018, allocations: 3.683 MB / 0.6088 GB, free: 5.469 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: