Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, 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.0014/0.0014, 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.555/1.555, 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.894/1.894, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.698e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002156/0.002199, allocations: 0.6893 MB / 0.6735 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.004316, allocations: 1.343 MB / 0.6749 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.004403, allocations: 4 kB / 0.6749 GB, free: 3.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.00496, allocations: 191.5 kB / 0.675 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.005094, allocations: 107.7 kB / 0.6751 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.005806, allocations: 222.8 kB / 0.6754 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.006144, allocations: 255.5 kB / 0.6756 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.006208, allocations: 15.97 kB / 0.6756 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.006357, allocations: 139.7 kB / 0.6758 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.00655, allocations: 127.7 kB / 0.6759 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.006594, allocations: 12 kB / 0.6759 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.00675, allocations: 71.94 kB / 0.676 GB, free: 2.688 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002209/0.006979, allocations: 234.2 kB / 0.6762 GB, free: 2.457 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 7.557e-05/0.007061, allocations: 110.6 kB / 0.6763 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.007098, allocations: 11.94 kB / 0.6763 GB, free: 2.336 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.426e-05/0.007118, allocations: 8 kB / 0.6763 GB, free: 2.328 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: 8 (6) * Number of variables: 8 (6) Notification: Performance of Bindings: time 0.0008309/0.007953, allocations: 0.7575 MB / 0.677 GB, free: 1.465 MB / 0.545 GB Notification: Performance of FunctionAlias: time 6.88e-05/0.008028, allocations: 34.91 kB / 0.6771 GB, free: 1.434 MB / 0.545 GB Notification: Performance of Early Inline: time 0.000504/0.008538, allocations: 0.5076 MB / 0.6776 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simplify1: time 4.833e-05/0.008595, allocations: 39.94 kB / 0.6776 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of Alias: time 9.155e-05/0.008694, allocations: 81.75 kB / 0.6777 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simplify2: time 4.032e-05/0.00874, allocations: 47.86 kB / 0.6777 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of Events: time 0.0004492/0.009196, allocations: 313.5 kB / 0.678 GB, free: 400 kB / 0.545 GB Notification: Performance of Detect States: time 0.000377/0.009583, allocations: 291.8 kB / 0.6783 GB, free: 96 kB / 0.545 GB Notification: Performance of Partitioning: time 0.0003312/0.009924, allocations: 264.9 kB / 0.6786 GB, free: 15.72 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (4/5) ***************************** (1) [DISS] (1) protected Integer intTimTab.idx (fixed = false) (2) [DISC] (1) Boolean $SEV_15 (3) [DISC] (1) Boolean $SEV_14 (4) [DISS] (2) Integer[2] intTimTab.y system eqns Equations (4/5) ***************************** (1) [SCAL] (1) $SEV_14 = sample(5, intTimTab.t0 + intTimTab.timeStamps[i], intTimTab.period) ($RES_EVT_48) (2) [SCAL] (1) $SEV_15 = sample(6, intTimTab.t0 + intTimTab.timeStamps[i], intTimTab.period) ($RES_EVT_49) (3) [WHEN] (1)when {$SEV_14 for i in 1:4} then (3) [----] intTimTab.idx := Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.intTimTab.getIndex(time, intTimTab.period, intTimTab.timeStamps) (3) [----] end when; (4) [WHEN] (2)when {$SEV_15 for i in 1:4} then (4) [----] intTimTab.y[:] := intTimTab.val[intTimTab.idx, :] (4) [----] end when; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 3 var 2 --> eqn 2 var 3 --> eqn 1 var 4 --> eqn 5 var 5 --> eqn 4 equation to variable ********************** eqn 1 --> var 3 eqn 2 --> var 2 eqn 3 --> var 1 eqn 4 --> var 5 eqn 5 --> var 4