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 2.374e-05/2.374e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.55 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002036/0.002069, allocations: 1.453 MB / 0.5936 GB, free: 17.41 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006884/0.002771, allocations: 400.7 kB / 0.594 GB, free: 17.09 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.00282, allocations: 0 / 0.594 GB, free: 17.09 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 7.877e-05/0.002906, allocations: 7.938 kB / 0.594 GB, free: 17.09 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.003065, allocations: 19.86 kB / 0.594 GB, free: 17.07 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.003557, allocations: 245.5 kB / 0.5943 GB, free: 16.84 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002494/0.003814, allocations: 367.5 kB / 0.5946 GB, free: 16.48 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.003867, allocations: 16.17 kB / 0.5946 GB, free: 16.46 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004002, allocations: 135.8 kB / 0.5948 GB, free: 16.32 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.004146, allocations: 115.6 kB / 0.5949 GB, free: 16.21 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.004193, allocations: 28 kB / 0.5949 GB, free: 16.18 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.00428, allocations: 51.98 kB / 0.595 GB, free: 16.13 MB / 446.1 MB
Notification: Performance of combineBinaries: time 0.000154/0.00444, allocations: 234.3 kB / 0.5952 GB, free: 15.9 MB / 446.1 MB
Notification: Performance of replaceArrayConstructors: time 2.513e-05/0.00447, allocations: 82.78 kB / 0.5953 GB, free: 15.82 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.004519, allocations: 31.94 kB / 0.5953 GB, free: 15.79 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.322e-05/0.004536, allocations: 7.938 kB / 0.5953 GB, free: 15.78 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 (4)
* Number of variables: 20 (20)
Notification: Performance of Bindings: time 0.0006945/0.005236, allocations: 0.8584 MB / 0.5961 GB, free: 14.82 MB / 446.1 MB
Notification: Performance of FunctionAlias: time 0.0001897/0.005433, allocations: 200.7 kB / 0.5963 GB, free: 14.63 MB / 446.1 MB
Notification: Performance of Early Inline: time 0.0005328/0.005972, allocations: 0.7974 MB / 0.5971 GB, free: 13.81 MB / 446.1 MB
Notification: Performance of simplify1: time 1.095e-05/0.005991, allocations: 7.984 kB / 0.5971 GB, free: 13.8 MB / 446.1 MB
Notification: Performance of Alias: time 8.217e-05/0.006078, allocations: 113.7 kB / 0.5972 GB, free: 13.65 MB / 446.1 MB
Notification: Performance of simplify2: time 5.821e-06/0.006088, allocations: 7.922 kB / 0.5972 GB, free: 13.64 MB / 446.1 MB
Notification: Performance of Events: time 0.000282/0.006374, allocations: 232.2 kB / 0.5975 GB, free: 13.41 MB / 446.1 MB
Notification: Performance of Detect States: time 0.0003902/0.006772, allocations: 0.5061 MB / 0.598 GB, free: 12.89 MB / 446.1 MB
Notification: Performance of Partitioning: time 0.0001502/0.006929, allocations: 164.4 kB / 0.5981 GB, free: 12.7 MB / 446.1 MB
Error: Internal error NBResolveSingularities.noIndexReduction failed.
(4|4) Unmatched Variables
***************************
[DISC] (1) protected Integer occSchDay.nexStoInd
slice: {}
[ALGB] (1) Real occSchDay.tNexNonOcc
slice: {}
[DISC] (1) protected Integer occSchDay.nexStaInd
slice: {}
[ALGB] (1) Real occSchDay.tNexOcc
slice: {}
(1|4) Unmatched Equations
***************************
[ALGO] (9) ($RES_SIM_3)
[----] when time >= $PRE.occSchDay.tOcc then
[----] occSchDay.nexStaInd := occSchDay.nexStaInd + 2;
[----] occSchDay.occupied := not occSchDay.occupied;
[----] if occSchDay.nexStaInd > 2 then
[----] occSchDay.nexStaInd := if occSchDay.firstEntryOccupied then 1 else 2;
[----] occSchDay.iPerSta := occSchDay.iPerSta + 1;
[----] end if;
[----] occSchDay.tOcc := occSchDay.occupancy[occSchDay.nexStaInd] + occSchDay.iPerSta * occSchDay.period;
[----] end when;
[----] when time >= $PRE.occSchDay.tNonOcc then
[----] occSchDay.nexStoInd := occSchDay.nexStoInd + 2;
[----] occSchDay.occupied := not occSchDay.occupied;
[----] if occSchDay.nexStoInd > 2 then
[----] occSchDay.nexStoInd := if occSchDay.firstEntryOccupied then 2 else 1;
[----] occSchDay.iPerSto := occSchDay.iPerSto + 1;
[----] end if;
[----] occSchDay.tNonOcc := occSchDay.occupancy[occSchDay.nexStoInd] + occSchDay.iPerSto * occSchDay.period;
[----] end when;
[----] occSchDay.tNexOcc := occSchDay.tOcc - time;
[----] occSchDay.tNexNonOcc := occSchDay.tNonOcc - time;
[----] assert(occSchDay.tNexOcc > (-0.001) and occSchDay.tNexOcc < (occSchDay.period + 0.001), "tNexOcc must be non-zero and smaller than period.
Received tNexOcc = " + String(occSchDay.tNexOcc, 6, 0, true), AssertionLevel.error);
[----] assert(occSchDay.tNexNonOcc > (-0.001) and occSchDay.tNexOcc < (occSchDay.period + 0.001), "tNexNonOcc must be non-zero and smaller than period.
Received tNexNonOcc = " + String(occSchDay.tNexNonOcc, 6, 0, true), AssertionLevel.error);
slice: {5, 6, 7, 8}