Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 115.6 kB / 16.43 MB, free: 6.469 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.001068/0.001068, allocations: 185.9 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.217/2.217, allocations: 469.8 MB / 0.7432 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/1.942e-05, allocations: 8.469 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001532/0.001562, allocations: 0.8764 MB / 1.067 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.003085, allocations: 1.307 MB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.003158, allocations: 3.938 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.716e-05/0.003253, allocations: 15.86 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003375, allocations: 31.72 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.004039, allocations: 269.7 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.004373, allocations: 307.4 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.004468, allocations: 17.11 kB / 1.069 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.004664, allocations: 135.7 kB / 1.069 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.004841, allocations: 119.6 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.004893, allocations: 24 kB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.004988, allocations: 39.91 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001932/0.005188, allocations: 273.5 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.937e-05/0.005253, allocations: 126.2 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.005303, allocations: 27.94 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.837e-05/0.005326, allocations: 3.938 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 (24) * Number of variables: 28 (24) Notification: Performance of Bindings: time 0.0006685/0.005999, allocations: 0.7216 MB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.457e-05/0.006059, allocations: 19.94 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005843/0.006649, allocations: 0.6402 MB / 1.071 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001213/0.006779, allocations: 148.3 kB / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004449/0.007232, allocations: 362.1 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001173/0.007359, allocations: 156.4 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003738/0.007739, allocations: 378.7 kB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of Events: time 0.0003957/0.008142, allocations: 355.3 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001209/0.008272, allocations: 112 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {triMovMea.u}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: triMovMea.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [WHEN] (3) ($RES_SIM_6) [----] when {initial(), booPul1.y} then [----] triMovMea2.ySample := {if i == triMovMea2.index then triMovMea.u else $PRE.triMovMea2.ySample[i] for i in 1:3} [----] end when;