Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneZoneOutputVariable.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.OneZoneOutputVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneZoneOutputVariable") translateModel(Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneZoneOutputVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneZoneOutputVariable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 107.1 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.001059/0.001059, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.106/1.106, 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.501/1.501, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.805e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.Validation.OutputVariable.OneZoneOutputVariable): time 0.005829/0.005859, allocations: 5.161 MB / 0.6779 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3725/0.3784, allocations: 149.8 MB / 0.8241 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.379, allocations: 20.62 kB / 0.8242 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.3795, allocations: 220.6 kB / 0.8244 GB, free: 43.95 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.00108/0.3806, allocations: 458.9 kB / 0.8248 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3821, allocations: 0.7883 MB / 0.8256 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.3837, allocations: 1.268 MB / 0.8268 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.3848, allocations: 0.7562 MB / 0.8276 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.3863, allocations: 464.5 kB / 0.828 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.3867, allocations: 400.2 kB / 0.8284 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.3869, allocations: 106.6 kB / 0.8285 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.3876, allocations: 432.1 kB / 0.8289 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0007168/0.3883, allocations: 1.427 MB / 0.8303 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.000331/0.3887, allocations: 0.906 MB / 0.8312 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.3888, allocations: 164.2 kB / 0.8313 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001887/0.389, allocations: 49.83 kB / 0.8314 GB, free: 42.04 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.002661/0.3917, allocations: 4.408 MB / 0.8357 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.00021/0.3919, allocations: 233.8 kB / 0.8359 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001584/0.3935, allocations: 2.311 MB / 0.8382 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001198/0.3936, allocations: 140.9 kB / 0.8383 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of Alias: time 0.00364/0.3973, allocations: 4.447 MB / 0.8426 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simplify2: time 7.203e-05/0.3973, allocations: 86.77 kB / 0.8427 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of Events: time 0.0002858/0.3976, allocations: 289.6 kB / 0.843 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0004278/0.3981, allocations: 454 kB / 0.8434 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0004074/0.3985, allocations: 0.5652 MB / 0.844 GB, free: 38.47 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