Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.002029/0.002029, allocations: 80.88 kB / 21.56 MB, free: 2.934 MB / 18.57 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.002126/0.002126, allocations: 166.4 kB / 24.97 MB, free: 9.195 MB / 18.57 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.835/1.835, allocations: 177.1 MB / 205.4 MB, free: 5.086 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.323/3.323, allocations: 389.5 MB / 0.6361 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.789e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002636/0.002664, allocations: 0.9128 MB / 0.7768 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.005181, allocations: 1.381 MB / 0.7782 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.005272, allocations: 0 / 0.7782 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.005414, allocations: 16.78 kB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.005612, allocations: 33.42 kB / 0.7782 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.006483, allocations: 275.5 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.006937, allocations: 303.5 kB / 0.7788 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.007058, allocations: 25.94 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.007427, allocations: 171.7 kB / 0.779 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.007658, allocations: 107.7 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.007725, allocations: 20 kB / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.007865, allocations: 43.97 kB / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of combineBinaries: time 0.0003985/0.008263, allocations: 294.6 kB / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of replaceArrayConstructors: time 0.0001123/0.008376, allocations: 121.2 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.00842, allocations: 16 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.486e-05/0.008445, allocations: 7.875 kB / 0.7795 GB, free: 1.742 MB / 0.7292 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.001537/0.009982, allocations: 1.051 MB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002506/0.01023, allocations: 126.2 kB / 0.7807 GB, free: 448 kB / 0.7292 GB Notification: Performance of [SIM] Early Inline: time 0.001414/0.01165, allocations: 1.095 MB / 0.7817 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of [SIM] Simplify 1: time 0.0003302/0.01198, allocations: 204.2 kB / 0.7819 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of [SIM] Alias: time 0.001195/0.01317, allocations: 0.6787 MB / 0.7826 GB, free: 14.34 MB / 0.7449 GB Notification: Performance of [SIM] Simplify 2: time 0.0003172/0.01349, allocations: 208.7 kB / 0.7828 GB, free: 14.11 MB / 0.7449 GB Notification: Performance of [SIM] Remove Stream: time 0.0002723/0.01376, allocations: 193.4 kB / 0.783 GB, free: 13.9 MB / 0.7449 GB Notification: Performance of [SIM] Detect States: time 0.0007965/0.01456, allocations: 0.5002 MB / 0.7835 GB, free: 13.34 MB / 0.7449 GB Notification: Performance of [SIM] Events: time 0.0001926/0.01475, allocations: 106.4 kB / 0.7836 GB, free: 13.24 MB / 0.7449 GB Notification: Performance of [SIM] Partitioning: time 0.0004918/0.01524, allocations: 321.2 kB / 0.7839 GB, free: 12.89 MB / 0.7449 GB Notification: Performance of [SIM] Causalize: time 0.0005928/0.01583, allocations: 311.3 kB / 0.7842 GB, free: 12.6 MB / 0.7449 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009964/0.01683, allocations: 0.7892 MB / 0.785 GB, free: 11.81 MB / 0.7449 GB Notification: Performance of [INI] Simplify: time 0.0009073/0.01774, allocations: 0.5075 MB / 0.7854 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of [INI] Inline: time 0.001718/0.01946, allocations: 1.357 MB / 0.7868 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of [INI] Partitioning: time 3.953e-05/0.0195, allocations: 26.02 kB / 0.7868 GB, free: 9.855 MB / 0.7449 GB Notification: Performance of [INI] Cleanup: time 0.0004175/0.01991, allocations: 291.7 kB / 0.7871 GB, free: 9.57 MB / 0.7449 GB Notification: Performance of [INI] Causalize: time 0.001876/0.02179, allocations: 1.061 MB / 0.7881 GB, free: 8.512 MB / 0.7449 GB Notification: Performance of [INI] Tearing: time 3.195e-05/0.02182, allocations: 24.66 kB / 0.7881 GB, free: 8.488 MB / 0.7449 GB Notification: Performance of [SIM] Initialization: time 1.723e-06/0.02182, allocations: 0.8125 kB / 0.7881 GB, free: 8.488 MB / 0.7449 GB Notification: Performance of [SIM] Remove Dummies: time 7.374e-06/0.02183, allocations: 0 / 0.7881 GB, free: 8.488 MB / 0.7449 GB Notification: Performance of [SIM] Tearing: time 9.268e-06/0.02184, allocations: 13.38 kB / 0.7882 GB, free: 8.477 MB / 0.7449 GB Notification: Performance of [SIM] Categorize: time 1.45e-05/0.02185, allocations: 7.938 kB / 0.7882 GB, free: 8.469 MB / 0.7449 GB Notification: Performance of [SIM] Solve: time 0.0003421/0.0222, allocations: 186.4 kB / 0.7883 GB, free: 8.289 MB / 0.7449 GB Notification: Performance of [SIM] Jacobian: time 8.566e-06/0.02221, allocations: 1.062 kB / 0.7883 GB, free: 8.289 MB / 0.7449 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.71e-07/0.02221, allocations: 0 / 0.7883 GB, free: 8.289 MB / 0.7449 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 21 (17) {booPul1.y, triMovMea2.iSample, triMovMea2.y, triMovMea2.counter, triMovMea2.ySample, triMovMea2.index, triMovMea1.iSample, triMovMea1.y, triMovMea1.counter, triMovMea1.ySample, triMovMea1.index, triMovMea.iSample, triMovMea.y, triMovMea.counter, triMovMea.ySample, triMovMea.index, booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {triMovMea.trigger, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 3) ------------------------------------------------------------- ### Variable: triMovMea.ySample ### Equation: [WHEN] (3) ($RES_SIM_16) [----] when triMovMea.trigger then [----] triMovMea.ySample := {if i == triMovMea.index then triMovMea.u else $PRE.triMovMea.ySample[i] for i in 1:3} [----] end when; Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 3) ------------------------------------------------------------- ### Variable: triMovMea2.ySample ### Equation: [WHEN] (3) ($RES_SIM_6) [----] when booPul1.y then [----] triMovMea2.ySample := {if i == triMovMea2.index then triMovMea.u else $PRE.triMovMea2.ySample[i] for i in 1:3} [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 15 (algorithm:0, when:15, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:23, array:3, record:0) * Number of multi strong components: ............ 17 (algorithm:17, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001022/0.02231, allocations: 49.88 kB / 0.7884 GB, free: 8.258 MB / 0.7449 GB Notification: Performance of SimCode: time 0.00111/0.02342, allocations: 465.8 kB / 0.7888 GB, free: 7.797 MB / 0.7449 GB Notification: Performance of Templates: time 0.009391/0.03281, allocations: 3.956 MB / 0.7927 GB, free: 3.973 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.626383963041008]