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.2135/0.2154, allocations: 80.83 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002985/0.2184, allocations: 1.517 MB / 0.5912 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.2193, allocations: 451.7 kB / 0.5916 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.2194, allocations: 0 / 0.5916 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9e-05/0.2195, allocations: 7.922 kB / 0.5916 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.2197, allocations: 11.88 kB / 0.5916 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.2202, allocations: 226.6 kB / 0.5918 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.2205, allocations: 275.7 kB / 0.5921 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.2206, allocations: 4.234 kB / 0.5921 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.2208, allocations: 123.7 kB / 0.5922 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2209, allocations: 95.69 kB / 0.5923 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.221, allocations: 12 kB / 0.5923 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2211, allocations: 39.98 kB / 0.5923 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.2212, allocations: 19.92 kB / 0.5924 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.2213, allocations: 111.6 kB / 0.5925 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.2216, allocations: 251.6 kB / 0.5927 GB, free: 4.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2216, allocations: 0 / 0.5927 GB, free: 4.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.2216, allocations: 0 / 0.5927 GB, free: 4.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2217, allocations: 0 / 0.5927 GB, free: 4.004 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.0006658/0.2223, allocations: 0.5798 MB / 0.5933 GB, free: 3.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2224, allocations: 12.03 kB / 0.5933 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.2225, allocations: 28.75 kB / 0.5933 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.2228, allocations: 239.2 kB / 0.5935 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.2228, allocations: 16.38 kB / 0.5936 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.2229, allocations: 28.38 kB / 0.5936 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2232, allocations: 177.5 kB / 0.5938 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2232, allocations: 8.172 kB / 0.5938 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.2233, allocations: 11.94 kB / 0.5938 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2233, allocations: 3.938 kB / 0.5938 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2235, allocations: 87.89 kB / 0.5939 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.2239, allocations: 343.9 kB / 0.5942 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.2241, allocations: 230.5 kB / 0.5944 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.2244, allocations: 199.5 kB / 0.5946 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2244, allocations: 0 / 0.5946 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.2249, allocations: 325.5 kB / 0.5949 GB, free: 1.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.2249, allocations: 4 kB / 0.5949 GB, free: 1.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007998/0.2257, allocations: 484.6 kB / 0.5954 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.2259, allocations: 314.6 kB / 0.5957 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.226, allocations: 153.7 kB / 0.5958 GB, free: 444 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.2261, allocations: 41.7 kB / 0.5959 GB, free: 396 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.2262, allocations: 108.6 kB / 0.596 GB, free: 280 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.2263, allocations: 59.2 kB / 0.596 GB, free: 220 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.2264, allocations: 97.97 kB / 0.5961 GB, free: 116 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2266, allocations: 326.8 kB / 0.5964 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.2269, allocations: 191.9 kB / 0.5966 GB, free: 15.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.2272, allocations: 230.6 kB / 0.5968 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.2277, allocations: 439.2 kB / 0.5973 GB, free: 14.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2277, allocations: 4 kB / 0.5973 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001156/0.2289, allocations: 0.8256 MB / 0.5981 GB, free: 14.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.229, allocations: 150.7 kB / 0.5982 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2291, allocations: 0 / 0.5982 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2291, allocations: 0 / 0.5982 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2292, allocations: 12.19 kB / 0.5982 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2292, allocations: 8.047 kB / 0.5982 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.2299, allocations: 115.5 kB / 0.5983 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.2299, allocations: 27.92 kB / 0.5984 GB, free: 13.7 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.0002424/0.2302, allocations: 236.7 kB / 0.5986 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.2303, allocations: 23.84 kB / 0.5986 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.2303, allocations: 16.7 kB / 0.5986 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2303, allocations: 4 kB / 0.5986 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2303, allocations: 3.984 kB / 0.5986 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2303, allocations: 0 / 0.5986 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.2306, allocations: 261.3 kB / 0.5989 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2306, allocations: 0 / 0.5989 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.2306, allocations: 7.984 kB / 0.5989 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2306, allocations: 7.938 kB / 0.5989 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.2307, allocations: 12 kB / 0.5989 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2307, allocations: 3.938 kB / 0.5989 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2307, allocations: 4 kB / 0.5989 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.2314, allocations: 473.7 kB / 0.5994 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.2314, allocations: 96.92 kB / 0.5995 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.2315, allocations: 15.94 kB / 0.5995 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.2318, allocations: 55.92 kB / 0.5995 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.2319, allocations: 15.92 kB / 0.5995 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.232, allocations: 12 kB / 0.5996 GB, free: 12.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.2321, allocations: 119.2 kB / 0.5997 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.2321, allocations: 0 / 0.5997 GB, free: 12.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.2324, allocations: 91.94 kB / 0.5998 GB, free: 12.14 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.0002243/0.2327, allocations: 136.8 kB / 0.5999 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.2337, allocations: 0.8652 MB / 0.6007 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2337, allocations: 0 / 0.6007 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.2342, allocations: 0.573 MB / 0.6013 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2345, allocations: 23.94 kB / 0.6013 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.2352, allocations: 435.9 kB / 0.6017 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2355, allocations: 0.7172 MB / 0.6024 GB, free: 9.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.2356, allocations: 4.672 kB / 0.6024 GB, free: 9.258 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.2356, allocations: 11.44 kB / 0.6024 GB, free: 9.246 MB / 462.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2356, allocations: 4 kB / 0.6024 GB, free: 9.242 MB / 462.1 MB Notification: Performance of Templates: time 0.007271/0.2429, allocations: 3.829 MB / 0.6062 GB, free: 5.484 MB / 462.1 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)