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.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.001486/0.001486, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001594/0.001594, allocations: 210.9 kB / 23.06 MB, free: 4.988 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.376/1.376, allocations: 230.6 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.578/2.578, allocations: 476 MB / 0.7708 GB, free: 4.641 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.747e-05, allocations: 4.25 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001596/0.001614, allocations: 0.8373 MB / 1.119 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002992, allocations: 1.339 MB / 1.12 GB, free: 40.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.003043, allocations: 6 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.003132, allocations: 10.58 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.003248, allocations: 37.17 kB / 1.12 GB, free: 40.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.003811, allocations: 265.3 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.004054, allocations: 311.3 kB / 1.121 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.004147, allocations: 21.94 kB / 1.121 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.004323, allocations: 135.8 kB / 1.121 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.004458, allocations: 109.9 kB / 1.121 GB, free: 40.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.004501, allocations: 22.88 kB / 1.121 GB, free: 40.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.004583, allocations: 40.64 kB / 1.121 GB, free: 40.79 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002053/0.004789, allocations: 348.7 kB / 1.121 GB, free: 40.68 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.174e-05/0.00484, allocations: 154.3 kB / 1.121 GB, free: 40.58 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.004879, allocations: 14.59 kB / 1.121 GB, free: 40.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-05/0.004892, allocations: 7.562 kB / 1.121 GB, free: 40.58 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.0007415/0.005633, allocations: 0.97 MB / 1.122 GB, free: 40.13 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.284e-05/0.005696, allocations: 80.06 kB / 1.122 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006195/0.006316, allocations: 0.9008 MB / 1.123 GB, free: 40.04 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002664/0.006582, allocations: 303.9 kB / 1.124 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006899/0.007272, allocations: 0.671 MB / 1.124 GB, free: 39.52 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002332/0.007505, allocations: 299.1 kB / 1.125 GB, free: 39.39 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001729/0.007678, allocations: 241 kB / 1.125 GB, free: 39.27 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004218/0.0081, allocations: 466.9 kB / 1.125 GB, free: 39.01 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.159e-05/0.008181, allocations: 51.84 kB / 1.125 GB, free: 38.99 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002093/0.008391, allocations: 231.2 kB / 1.126 GB, free: 38.91 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004727/0.008863, allocations: 388.9 kB / 1.126 GB, free: 38.83 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004311/0.009294, allocations: 0.6709 MB / 1.127 GB, free: 38.55 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005799/0.009874, allocations: 0.5584 MB / 1.127 GB, free: 38.25 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006672/0.01054, allocations: 0.9827 MB / 1.128 GB, free: 37.8 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.517e-05/0.01057, allocations: 22.19 kB / 1.128 GB, free: 37.78 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001686/0.01074, allocations: 220.3 kB / 1.128 GB, free: 37.69 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001184/0.01192, allocations: 1.097 MB / 1.129 GB, free: 37.41 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.778134539956227] Failed to read output from testmodel.py, exit status != 0: 0.47019661602098495 0.027613191000000002 0.020449247 Calling exit ...