Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001084/0.001084, allocations: 109.2 kB / 16.42 MB, free: 6.496 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.0009852/0.0009852, allocations: 188.2 kB / 17.36 MB, free: 5.754 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.883e-05/3.896e-05, allocations: 6.219 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001885/0.001936, allocations: 0.8727 MB / 1.055 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.004014, allocations: 1.31 MB / 1.057 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.004146, allocations: 3.938 kB / 1.057 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.00427, allocations: 11.86 kB / 1.057 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.004475, allocations: 39.7 kB / 1.057 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.005362, allocations: 265.5 kB / 1.057 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.005781, allocations: 319.4 kB / 1.057 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.005918, allocations: 25.11 kB / 1.057 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.006186, allocations: 131.7 kB / 1.058 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.006418, allocations: 119.6 kB / 1.058 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.006486, allocations: 24 kB / 1.058 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.006594, allocations: 39.92 kB / 1.058 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.000214/0.006816, allocations: 273.6 kB / 1.058 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.673e-05/0.006888, allocations: 122.2 kB / 1.058 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.006951, allocations: 27.88 kB / 1.058 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.285e-05/0.006979, allocations: 7.938 kB / 1.058 GB, free: 4.215 MB / 0.8262 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.0009513/0.007934, allocations: 0.9013 MB / 1.059 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.186e-05/0.008001, allocations: 15.94 kB / 1.059 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0009783/0.008988, allocations: 0.8316 MB / 1.06 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simplify1: time 3.4e-05/0.009032, allocations: 19.97 kB / 1.06 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of Alias: time 0.0007376/0.009775, allocations: 0.5178 MB / 1.06 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of simplify2: time 3.701e-05/0.009821, allocations: 31.94 kB / 1.06 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of Events: time 0.0005111/0.01034, allocations: 351.3 kB / 1.061 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0005568/0.0109, allocations: 0.496 MB / 1.061 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.000186/0.0111, allocations: 140 kB / 1.061 GB, free: 0.707 MB / 0.8262 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)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;