Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001264/0.001264, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001207/0.001207, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.246e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002634/0.002667, allocations: 1.491 MB / 0.7279 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.003077, allocations: 140.4 kB / 0.728 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.003147, allocations: 7.938 kB / 0.728 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.003373, allocations: 59.78 kB / 0.7281 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.003438, allocations: 35.84 kB / 0.7281 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.003604, allocations: 15.97 kB / 0.7281 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003782, allocations: 99.78 kB / 0.7282 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.003958, allocations: 35.86 kB / 0.7283 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.004037, allocations: 39.89 kB / 0.7283 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.004157, allocations: 59.81 kB / 0.7284 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.004184, allocations: 4 kB / 0.7284 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.004203, allocations: 8 kB / 0.7284 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001278/0.004335, allocations: 114.6 kB / 0.7285 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 4.401e-05/0.004385, allocations: 70.88 kB / 0.7286 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.004422, allocations: 15.88 kB / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.777e-05/0.004446, allocations: 8 kB / 0.7286 GB, free: 2.449 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: 12 (9) * Number of variables: 12 (7) Notification: Performance of Bindings: time 0.0006021/0.005053, allocations: 439 kB / 0.729 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 3.341e-05/0.005093, allocations: 27.92 kB / 0.729 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001967/0.005295, allocations: 184.2 kB / 0.7292 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simplify1: time 2.542e-05/0.005327, allocations: 11.98 kB / 0.7292 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of Alias: time 9.909e-05/0.005432, allocations: 80.61 kB / 0.7293 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simplify2: time 3.117e-05/0.005468, allocations: 19.98 kB / 0.7293 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Events: time 0.0001508/0.005623, allocations: 88.81 kB / 0.7294 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001021/0.005732, allocations: 72.2 kB / 0.7295 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001336/0.005872, allocations: 87.83 kB / 0.7295 GB, free: 1.262 MB / 0.5606 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 2 for dependency matGai.u could not be divided 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)