Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001158/0.001158, allocations: 195.2 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.268/1.268, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.71/1.71, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.372e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve): time 0.003652/0.003692, allocations: 2.607 MB / 0.6755 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.00626, allocations: 1.893 MB / 0.6773 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.006525, allocations: 15.94 kB / 0.6773 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.006816, allocations: 106.8 kB / 0.6774 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.007092, allocations: 110.9 kB / 0.6775 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.008122, allocations: 442.4 kB / 0.678 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.009163, allocations: 1.044 MB / 0.679 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007651/0.009938, allocations: 0.5034 MB / 0.6795 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.01036, allocations: 342.7 kB / 0.6798 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.01074, allocations: 362.2 kB / 0.6801 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.01088, allocations: 115.9 kB / 0.6803 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.01109, allocations: 124 kB / 0.6804 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0008388/0.01194, allocations: 1.22 MB / 0.6816 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003933/0.01234, allocations: 0.7655 MB / 0.6823 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.01249, allocations: 131.6 kB / 0.6824 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001153/0.01261, allocations: 51.5 kB / 0.6825 GB, free: 11.98 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 (162) * Number of variables: 162 (162) Notification: Performance of Bindings: time 0.003022/0.01564, allocations: 3.858 MB / 0.6863 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002226/0.01587, allocations: 207.8 kB / 0.6865 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.002051/0.01793, allocations: 2.354 MB / 0.6887 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001206/0.01807, allocations: 139.8 kB / 0.6889 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of Alias: time 0.004103/0.02218, allocations: 3.953 MB / 0.6927 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of simplify2: time 9.656e-05/0.02229, allocations: 87.88 kB / 0.6928 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of Events: time 0.0005016/0.0228, allocations: 355.8 kB / 0.6932 GB, free: 408 kB / 0.5606 GB Notification: Performance of Detect States: time 0.0005122/0.02333, allocations: 471.6 kB / 0.6936 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000434/0.02377, allocations: 470.3 kB / 0.6941 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002213/0.02599, allocations: 2.358 MB / 0.6964 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001113/0.02711, allocations: 1.215 MB / 0.6976 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of Inline: time 0.002764/0.02989, allocations: 2.83 MB / 0.7003 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001653/0.03006, allocations: 159.6 kB / 0.7005 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0002448/0.03032, allocations: 287.6 kB / 0.7007 GB, free: 8.43 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (3) ($RES_SIM_0) [----] supFanSta.t0 := if $FUN_2 + supFanSta.period * integer(time / supFanSta.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_2 + supFanSta.period * integer(time / supFanSta.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_2 + supFanSta.period * integer(time / supFanSta.period))); [----] supFanSta.t1 := supFanSta.t0 + supFanSta.width * supFanSta.period; [----] if time + supFanSta.period < supFanSta.t1 then [----] supFanSta.t0 := supFanSta.t0 - supFanSta.period; [----] supFanSta.t1 := supFanSta.t1 - supFanSta.period; [----] end if; [----] if time >= supFanSta.t1 then [----] supFanSta.t0 := supFanSta.t0 + supFanSta.period; [----] elseif time < supFanSta.t0 then [----] supFanSta.t1 := supFanSta.t1 - supFanSta.period; [----] end if; [----] if supFanSta.t0 < supFanSta.t1 then [----] assert(supFanSta.t0 <= time and time < supFanSta.t1, "SupplySignals_Valve.supFanSta: Implementation error in initial time calculation: t0 = " + String(supFanSta.t0, 6, 0, true) + ", t1 = " + String(supFanSta.t1, 6, 0, true) + ", period = " + String(supFanSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] supFanSta.y := time >= supFanSta.t0 and time < supFanSta.t1; [----] elseif true then [----] assert(supFanSta.t1 <= time and time < supFanSta.t0, "SupplySignals_Valve.supFanSta: Implementation error in initial time calculation: t0 = " + String(supFanSta.t0, 6, 0, true) + ", t1 = " + String(supFanSta.t1, 6, 0, true) + ", period = " + String(supFanSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] supFanSta.y := not (time >= supFanSta.t1 and time < supFanSta.t0); [----] end if; slice: {1, 2}; Notification: Performance of Causalize: time 0.01831/0.04863, allocations: 20.58 MB / 0.7208 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of Tearing: time 1.886e-05/0.04869, allocations: 4 kB / 0.7208 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of Initialization: time 1.252e-06/0.0487, allocations: 0 / 0.7208 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of Tearing: time 1.113e-05/0.04872, allocations: 7.922 kB / 0.7209 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of Categorize: time 2.557e-05/0.04875, allocations: 4 kB / 0.7209 GB, free: 4.48 MB / 0.5919 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min