Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 214.4 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.339/1.339, allocations: 230.7 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.885/2.885, allocations: 0.4893 GB / 0.7952 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.407e-05, allocations: 2.281 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001595/0.001609, allocations: 0.8435 MB / 1.155 GB, free: 24.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.002974, allocations: 1.338 MB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.00302, allocations: 7.656 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.156e-05/0.003102, allocations: 13.31 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.003216, allocations: 26.66 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.003831, allocations: 284.7 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.004114, allocations: 299.4 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.004213, allocations: 24.7 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.004417, allocations: 135.2 kB / 1.157 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.004565, allocations: 110.7 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.004606, allocations: 25.41 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.004684, allocations: 36.59 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002276/0.004911, allocations: 356.7 kB / 1.158 GB, free: 23.36 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.434e-05/0.004976, allocations: 151.7 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.005019, allocations: 15.16 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.461e-05/0.005034, allocations: 3.406 kB / 1.158 GB, free: 23.26 MB / 0.9044 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 [SIM] Bindings: time 0.0008659/0.0059, allocations: 0.9699 MB / 1.159 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.783e-05/0.005968, allocations: 67.08 kB / 1.159 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0008167/0.006784, allocations: 0.9052 MB / 1.16 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003255/0.00711, allocations: 304.5 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0007963/0.007906, allocations: 0.6745 MB / 1.161 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003042/0.00821, allocations: 293.3 kB / 1.161 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002143/0.008424, allocations: 240.2 kB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004387/0.008863, allocations: 472.4 kB / 1.162 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.239e-05/0.008946, allocations: 54.45 kB / 1.162 GB, free: 20.91 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002405/0.009186, allocations: 232.1 kB / 1.162 GB, free: 20.82 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005755/0.009762, allocations: 391.8 kB / 1.162 GB, free: 20.72 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005697/0.01033, allocations: 0.6687 MB / 1.163 GB, free: 20.42 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0007277/0.01106, allocations: 0.5586 MB / 1.164 GB, free: 20.1 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0008946/0.01195, allocations: 0.9985 MB / 1.165 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.605e-05/0.01198, allocations: 21.41 kB / 1.165 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002054/0.01218, allocations: 210.8 kB / 1.165 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001489/0.01367, allocations: 1.096 MB / 1.166 GB, free: 19.16 MB / 0.9044 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (1) ($RES_SIM_14) [----] triMovMea.y := sum(triMovMea.ySample) / triMovMea.counter; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.805688491964247] Failed to read output from testmodel.py, exit status != 0: 0.020024041994474828 0.030652130000000003 0.023311384 Calling exit ...