Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneEnvironmentOutputVariable.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneEnvironmentOutputVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneEnvironmentOutputVariable") translateModel(Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneEnvironmentOutputVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneEnvironmentOutputVariable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 104.6 kB / 16.37 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 192.3 kB / 17.3 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.126/1.126, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.247e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneEnvironmentOutputVariable): time 0.00587/0.005906, allocations: 5.162 MB / 0.6779 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3663/0.3722, allocations: 149.8 MB / 0.8241 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.3728, allocations: 20.69 kB / 0.8242 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.3733, allocations: 224 kB / 0.8244 GB, free: 43.78 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001044/0.3744, allocations: 447.4 kB / 0.8248 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3757, allocations: 0.7865 MB / 0.8256 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009286/0.3766, allocations: 1.274 MB / 0.8268 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/0.3775, allocations: 0.7533 MB / 0.8275 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008803/0.3783, allocations: 473.9 kB / 0.828 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3787, allocations: 402.3 kB / 0.8284 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.3788, allocations: 107.8 kB / 0.8285 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.3793, allocations: 421.1 kB / 0.8289 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0006336/0.3799, allocations: 1.426 MB / 0.8303 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0002886/0.3802, allocations: 0.9104 MB / 0.8312 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3803, allocations: 165 kB / 0.8313 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001342/0.3805, allocations: 49.66 kB / 0.8314 GB, free: 41.87 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 (161) * Number of variables: 189 (161) Notification: Performance of Bindings: time 0.002564/0.3831, allocations: 4.399 MB / 0.8357 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0001881/0.3833, allocations: 235.8 kB / 0.8359 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001533/0.3848, allocations: 2.322 MB / 0.8382 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001065/0.3849, allocations: 139.8 kB / 0.8383 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of Alias: time 0.003455/0.3884, allocations: 4.449 MB / 0.8426 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simplify2: time 6.666e-05/0.3884, allocations: 84.11 kB / 0.8427 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of Events: time 0.0002718/0.3887, allocations: 295.5 kB / 0.843 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0003402/0.3891, allocations: 449.9 kB / 0.8434 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0004038/0.3895, allocations: 0.5626 MB / 0.844 GB, free: 38.3 MB / 0.6544 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (4/5) ***************************** (1) [DISS] (1) protected Real TEnePlu.tNext (fixed = true, start = TEnePlu.startTime) (2) [DISS] (1) discrete Real TEnePlu.y (3) [DISC] (1) Boolean $SEV_0 (4) [DISS] (2) protected Real[2] TEnePlu.yEP system eqns Equations (4/5) ***************************** (1) [SCAL] (1) $SEV_0 = time >= $PRE.TEnePlu.tNext ($RES_EVT_222) (2) [WHEN] (2)when {initial(), $SEV_0} then (2) [----] TEnePlu.yEP := Buildings.ThermalZones.EnergyPlus.BaseClasses.exchange(TEnePlu.adapter, false, 2, {if time > 0.0 then 0.001 * floor(0.5 + 1000.0 * time) else 0.001 * ceil((-0.5) + 1000.0 * time), 0.0}, TEnePlu.nObj) (2) [----] end when; (3) [WHEN] (1)when {initial(), $SEV_0} then (3) [----] TEnePlu.y := TEnePlu.yEP[1] (3) [----] end when; (4) [WHEN] (1)when {initial(), $SEV_0} then (4) [----] TEnePlu.tNext := TEnePlu.yEP[2] (4) [----] end when; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 5 var 2 --> eqn 4 var 3 --> eqn 1 var 4 --> eqn 3 var 5 --> eqn 2 equation to variable ********************** eqn 1 --> var 3 eqn 2 --> var 5 eqn 3 --> var 4 eqn 4 --> var 2 eqn 5 --> var 1