Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 103.9 kB / 16.42 MB, free: 6.52 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.0009607/0.0009608, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.984/1.984, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/1.995e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.00171/0.001744, allocations: 0.873 MB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.00349, allocations: 1.315 MB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.003576, allocations: 0 / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.883e-05/0.003682, allocations: 15.8 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.003844, allocations: 35.77 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.004591, allocations: 266.8 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.004986, allocations: 315.4 kB / 0.9542 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005108, allocations: 29.09 kB / 0.9542 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.005328, allocations: 135.7 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.005548, allocations: 119.6 kB / 0.9545 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.005605, allocations: 24 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.005701, allocations: 35.98 kB / 0.9545 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002219/0.005929, allocations: 273.6 kB / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.404e-05/0.006009, allocations: 126.1 kB / 0.9549 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.006067, allocations: 23.94 kB / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.278e-05/0.006095, allocations: 7.938 kB / 0.9549 GB, free: 4.137 MB / 0.7325 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.0008868/0.006986, allocations: 0.8896 MB / 0.9558 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 7.193e-05/0.007064, allocations: 31.75 kB / 0.9558 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.000875/0.007945, allocations: 0.8239 MB / 0.9566 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simplify1: time 3.331e-05/0.007988, allocations: 19.97 kB / 0.9566 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of Alias: time 0.0006572/0.008651, allocations: 0.5178 MB / 0.9572 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simplify2: time 3.011e-05/0.008691, allocations: 27.94 kB / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0006513/0.009347, allocations: 491.8 kB / 0.9576 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of Events: time 0.0004716/0.009827, allocations: 355.2 kB / 0.958 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001852/0.01002, allocations: 149.8 kB / 0.9581 GB, free: 0.6406 MB / 0.7325 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;