Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 105.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.001119/0.00112, allocations: 191.3 kB / 17.3 MB, free: 5.914 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.565/1.565, 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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/2.898e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001865/0.001911, allocations: 0.7008 MB / 0.6735 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.003778, allocations: 1.347 MB / 0.6749 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.003846, allocations: 3.938 kB / 0.6749 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.004328, allocations: 191.6 kB / 0.675 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.004455, allocations: 103.7 kB / 0.6751 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.005186, allocations: 230.7 kB / 0.6754 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.00549, allocations: 263.5 kB / 0.6756 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.005547, allocations: 8 kB / 0.6756 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.005697, allocations: 139.7 kB / 0.6758 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.005916, allocations: 115.7 kB / 0.6759 GB, free: 2.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.00597, allocations: 16 kB / 0.6759 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.006147, allocations: 79.88 kB / 0.676 GB, free: 2.746 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002508/0.006406, allocations: 230.2 kB / 0.6762 GB, free: 2.52 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 7.335e-05/0.006488, allocations: 98.67 kB / 0.6763 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.006542, allocations: 15.94 kB / 0.6763 GB, free: 2.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.871e-05/0.006566, allocations: 0 / 0.6763 GB, free: 2.406 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.001037/0.007609, allocations: 0.7691 MB / 0.677 GB, free: 1.531 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.824e-05/0.007704, allocations: 38.92 kB / 0.6771 GB, free: 1.496 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0005773/0.008287, allocations: 0.5114 MB / 0.6776 GB, free: 0.957 MB / 0.545 GB Notification: Performance of simplify1: time 4.879e-05/0.008346, allocations: 39.94 kB / 0.6776 GB, free: 0.918 MB / 0.545 GB Notification: Performance of Alias: time 0.0001121/0.008464, allocations: 89.73 kB / 0.6777 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simplify2: time 4.736e-05/0.008518, allocations: 43.94 kB / 0.6777 GB, free: 0.75 MB / 0.545 GB Notification: Performance of Events: time 0.0004797/0.009003, allocations: 305.5 kB / 0.678 GB, free: 460 kB / 0.545 GB Notification: Performance of Detect States: time 0.0003568/0.00937, allocations: 292.7 kB / 0.6783 GB, free: 152 kB / 0.545 GB Notification: Performance of Partitioning: time 0.0003183/0.009697, allocations: 268.9 kB / 0.6786 GB, free: 15.77 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.TimeTable.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