Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001317, allocations: 112.6 kB / 16.38 MB, free: 6 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.001125/0.001125, allocations: 187.9 kB / 17.31 MB, free: 5.621 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.82e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002129/0.002177, allocations: 0.8719 MB / 0.6737 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.004397, allocations: 1.456 MB / 0.6752 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.004491, allocations: 0 / 0.6752 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.005015, allocations: 203.4 kB / 0.6754 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.005159, allocations: 115.6 kB / 0.6755 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.006136, allocations: 355.1 kB / 0.6758 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.006594, allocations: 431.1 kB / 0.6762 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.006745, allocations: 57.62 kB / 0.6763 GB, free: 2.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.007018, allocations: 203.5 kB / 0.6765 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.00725, allocations: 155.6 kB / 0.6766 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.007367, allocations: 28 kB / 0.6766 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.007544, allocations: 95.88 kB / 0.6767 GB, free: 1.914 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0003221/0.007875, allocations: 368.7 kB / 0.6771 GB, free: 1.551 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001053/0.007987, allocations: 181.5 kB / 0.6773 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.008042, allocations: 27.88 kB / 0.6773 GB, free: 1.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.175e-05/0.00807, allocations: 4 kB / 0.6773 GB, free: 1.34 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 (15) * Number of variables: 27 (15) Notification: Performance of Bindings: time 0.00131/0.009384, allocations: 1.239 MB / 0.6785 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 8.675e-05/0.009481, allocations: 57.91 kB / 0.6785 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.000781/0.01027, allocations: 0.7727 MB / 0.6793 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simplify1: time 5.611e-05/0.01033, allocations: 51.92 kB / 0.6794 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of Alias: time 0.0001532/0.01049, allocations: 137.4 kB / 0.6795 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simplify2: time 4.662e-05/0.01055, allocations: 51.92 kB / 0.6795 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Events: time 0.0006398/0.01119, allocations: 437.8 kB / 0.6799 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0005645/0.01177, allocations: 448.4 kB / 0.6804 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0004237/0.01221, allocations: 374.1 kB / 0.6807 GB, free: 13.51 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (8/13) ****************************** (1) [DISC] (2) protected Boolean[2] booTimTabOneRow.intGreThr.y (2) [DISC] (2) Boolean[2] $SEV_18[$i1] (3) [DISC] (2) protected Integer[2] booTimTabOneRow.intGreThr.u (4) [DISS] (2) protected Integer[2] booTimTabOneRow.intTimTab.y (5) [DISS] (1) protected Integer booTimTabOneRow.intTimTab.idx (fixed = false) (6) [DISC] (1) Boolean $TEV_1 (7) [DISC] (1) Boolean $TEV_0 (8) [DISC] (2) Boolean[2] booTimTabOneRow.y system eqns Equations (8/13) ****************************** (1) [SCAL] (1) $TEV_0 = sample(2, booTimTabOneRow.intTimTab.t0 + booTimTabOneRow.intTimTab.timeStamps[1], booTimTabOneRow.intTimTab.period) ($RES_EVT_48) (2) [FOR-] (2) ($RES_SIM_31) (2) [----] for $i1 in 1:2 loop (2) [----] [SCAL] (1) booTimTabOneRow.intGreThr[$i1].y = $SEV_18[$i1] ($RES_SIM_32) (2) [----] end for; (3) [SCAL] (1) $TEV_1 = sample(3, booTimTabOneRow.intTimTab.t0 + booTimTabOneRow.intTimTab.timeStamps[1], booTimTabOneRow.intTimTab.period) ($RES_EVT_49) (4) [WHEN] (1)when {$TEV_0} then (4) [----] booTimTabOneRow.intTimTab.idx := Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.booTimTabOneRow.intTimTab.getIndex(time, booTimTabOneRow.intTimTab.period, booTimTabOneRow.intTimTab.timeStamps) (4) [----] end when; (5) [WHEN] (2)when {$TEV_1} then (5) [----] booTimTabOneRow.intTimTab.y[:] := booTimTabOneRow.intTimTab.val[booTimTabOneRow.intTimTab.idx, :] (5) [----] end when; (6) [FOR-] (2) ($RES_EVT_75) (6) [----] for $i1 in 1:2 loop (6) [----] [SCAL] (1) $SEV_18[$i1] = booTimTabOneRow.intGreThr[$i1].u > booTimTabOneRow.intGreThr[$i1].t ($RES_EVT_76) (6) [----] end for; (7) [ARRY] (2) booTimTabOneRow.intGreThr.y = booTimTabOneRow.y ($RES_SIM_41) (8) [ARRY] (2) booTimTabOneRow.intTimTab.y = booTimTabOneRow.intGreThr.u ($RES_SIM_42) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 2 var 2 --> eqn 3 var 3 --> eqn 8 var 4 --> eqn 9 var 5 --> eqn 12 var 6 --> eqn 13 var 7 --> eqn 7 var 8 --> eqn 6 var 9 --> eqn 5 var 10 --> eqn 4 var 11 --> eqn 1 var 12 --> eqn 10 var 13 --> eqn 11 equation to variable ********************** eqn 1 --> var 11 eqn 2 --> var 1 eqn 3 --> var 2 eqn 4 --> var 10 eqn 5 --> var 9 eqn 6 --> var 8 eqn 7 --> var 7 eqn 8 --> var 3 eqn 9 --> var 4 eqn 10 --> var 12 eqn 11 --> var 13 eqn 12 --> var 5 eqn 13 --> var 6