Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.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.002031/0.002031, allocations: 104.3 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.002428/0.002428, allocations: 213.8 kB / 23.06 MB, free: 4.984 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.386/1.386, allocations: 230.7 MB / 256.9 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.083/3.083, allocations: 0.5108 GB / 0.8167 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|resSig.y|sam.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|resSig.y|sam.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.896e-05, allocations: 6.219 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001843/0.001862, allocations: 0.9946 MB / 1.188 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.00327, allocations: 1.341 MB / 1.189 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.003364, allocations: 3.312 kB / 1.189 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.00348, allocations: 18.47 kB / 1.189 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.003548, allocations: 32.83 kB / 1.189 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.004135, allocations: 265 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.004449, allocations: 326.2 kB / 1.19 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.004596, allocations: 59.23 kB / 1.19 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.004703, allocations: 119.7 kB / 1.19 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.004835, allocations: 96.47 kB / 1.19 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.004888, allocations: 31.28 kB / 1.19 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.004983, allocations: 48.34 kB / 1.19 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002476/0.00523, allocations: 391.4 kB / 1.191 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 9.08e-05/0.005321, allocations: 207.3 kB / 1.191 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.005372, allocations: 18.09 kB / 1.191 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.751e-05/0.0054, allocations: 6.625 kB / 1.191 GB, free: 10.96 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of [SIM] Bindings: time 0.0009318/0.006332, allocations: 1.025 MB / 1.192 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.093e-05/0.006412, allocations: 82.83 kB / 1.192 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007772/0.00719, allocations: 0.8153 MB / 1.193 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003077/0.007497, allocations: 265.2 kB / 1.193 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001165/0.008662, allocations: 0.95 MB / 1.194 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000272/0.008934, allocations: 250.9 kB / 1.194 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002032/0.009138, allocations: 219.4 kB / 1.194 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003398/0.009477, allocations: 325.8 kB / 1.195 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.997e-05/0.009577, allocations: 58.47 kB / 1.195 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000144/0.009721, allocations: 120.4 kB / 1.195 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003307/0.01005, allocations: 242.2 kB / 1.195 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004367/0.01049, allocations: 0.523 MB / 1.196 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0007055/0.01119, allocations: 0.5468 MB / 1.196 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006122/0.01181, allocations: 0.7371 MB / 1.197 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.502e-05/0.01183, allocations: 18.53 kB / 1.197 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001084/0.01194, allocations: 123.9 kB / 1.197 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0008702/0.01281, allocations: 0.6295 MB / 1.198 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.668e-05/0.01283, allocations: 16.44 kB / 1.198 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.142e-06/0.01283, allocations: 5.219 kB / 1.198 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.441e-05/0.01287, allocations: 26.78 kB / 1.198 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.679e-06/0.01288, allocations: 4.969 kB / 1.198 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.979e-06/0.01288, allocations: 7.281 kB / 1.198 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.045e-06/0.01289, allocations: 5.062 kB / 1.198 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000218/0.01311, allocations: 164.2 kB / 1.198 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.061e-05/0.0132, allocations: 183.4 kB / 1.198 GB, free: 6.566 MB / 0.9044 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: .................... 3 (3) {u.booPul.y, resSig.y, sam.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (13) {sam.samTri.y, sam.swi.u2, sam.edgRes.u, sam.edgThr.u, sam.edgThr.y, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.0001148/0.01331, allocations: 24.86 kB / 1.198 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009906/0.0143, allocations: 0.7308 MB / 1.199 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of Templates: time 0.006022/0.02033, allocations: 2.632 MB / 1.201 GB, free: 5.926 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.088071112986654] Failed to read output from testmodel.py, exit status != 0: 0.026952132990118116 0.039959904000000004 0.03154299 Calling exit ...