Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 107.9 kB / 16.38 MB, free: 6.434 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.001046/0.001046, allocations: 192.7 kB / 17.31 MB, free: 5.777 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.627/1.627, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.604e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001888/0.001932, allocations: 0.7761 MB / 0.6736 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.002876, allocations: 0.8243 MB / 0.6744 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.002934, allocations: 8 kB / 0.6744 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.003122, allocations: 51.8 kB / 0.6745 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.00318, allocations: 35.83 kB / 0.6745 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.732e-05/0.003271, allocations: 19.98 kB / 0.6745 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.003472, allocations: 103.7 kB / 0.6746 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.003653, allocations: 23.98 kB / 0.6747 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.003734, allocations: 51.81 kB / 0.6747 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.003831, allocations: 47.83 kB / 0.6748 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.00386, allocations: 8 kB / 0.6748 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.00388, allocations: 8 kB / 0.6748 GB, free: 3.945 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001208/0.004005, allocations: 118.6 kB / 0.6749 GB, free: 3.828 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.629e-05/0.004047, allocations: 70.88 kB / 0.675 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.004074, allocations: 11.94 kB / 0.675 GB, free: 3.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.295e-05/0.004101, allocations: 7.938 kB / 0.675 GB, free: 3.738 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: 12 (9) * Number of variables: 12 (7) Notification: Performance of Bindings: time 0.0004997/0.004606, allocations: 431.1 kB / 0.6754 GB, free: 3.215 MB / 0.545 GB Notification: Performance of FunctionAlias: time 2.861e-05/0.00464, allocations: 15.94 kB / 0.6754 GB, free: 3.199 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001744/0.004819, allocations: 196.2 kB / 0.6756 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simplify1: time 1.993e-05/0.004845, allocations: 11.98 kB / 0.6756 GB, free: 2.969 MB / 0.545 GB Notification: Performance of Alias: time 9.006e-05/0.00494, allocations: 92.53 kB / 0.6757 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simplify2: time 1.144e-05/0.004956, allocations: 11.98 kB / 0.6757 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Events: time 0.0001338/0.005094, allocations: 84.98 kB / 0.6758 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Detect States: time 9.281e-05/0.005194, allocations: 86.16 kB / 0.6759 GB, free: 2.648 MB / 0.545 GB Notification: Performance of Partitioning: time 0.000109/0.00531, allocations: 95.78 kB / 0.676 GB, free: 2.543 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 2 for dependency matGai.u could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) matGai.y = matGai.K * matGai.u ($RES_SIM_4) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (5/8) ************************ (1) [ALGB] (1) Real ramp.y (2) [ALGB] (2) Real[2] matGai.u (3) [DISC] (1) Boolean $TEV_5 (4) [DISC] (1) Boolean $TEV_4 (5) [ALGB] (3) Real[3] matGai.y System Equations (6/8) ************************ (1) [ARRY] (3) matGai.y = matGai.K * matGai.u ($RES_SIM_4) (2) [SCAL] (1) $TEV_4 = time < ramp.startTime ($RES_EVT_13) (3) [SCAL] (1) $TEV_5 = time < (ramp.startTime + ramp.duration) ($RES_EVT_14) (4) [SCAL] (1) ramp.y = ramp.offset + (if $TEV_4 then 0.0 else if $TEV_5 then (ramp.height * (time - ramp.startTime)) / ramp.duration else ramp.height) ($RES_SIM_2) (5) [SCAL] (1) ramp.y = matGai.u[2] ($RES_SIM_6) (6) [SCAL] (1) ramp.y = matGai.u[1] ($RES_SIM_5)