Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001262/0.001262, 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.0014/0.0014, allocations: 214.5 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.333/1.333, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 179] 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.87/2.87, allocations: 0.4893 GB / 0.7952 GB, free: 35.38 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.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|resSig.y|sam.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.509e-05, allocations: 4.609 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001791/0.001806, allocations: 0.9988 MB / 1.155 GB, free: 24.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.003147, allocations: 1.336 MB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.003231, allocations: 3.656 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003333, allocations: 19.48 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.003395, allocations: 31.77 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.003963, allocations: 267.4 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.004237, allocations: 337.8 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004366, allocations: 56.55 kB / 1.157 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.00446, allocations: 116.3 kB / 1.158 GB, free: 23.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.004584, allocations: 92.12 kB / 1.158 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.004636, allocations: 35.03 kB / 1.158 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.004726, allocations: 45.58 kB / 1.158 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002395/0.004965, allocations: 392.2 kB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 8.273e-05/0.005048, allocations: 203.4 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.005095, allocations: 18.31 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.203e-05/0.005117, allocations: 11 kB / 1.158 GB, free: 23.06 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.0008288/0.005946, allocations: 1.025 MB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.052e-05/0.006017, allocations: 79.97 kB / 1.159 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000704/0.006721, allocations: 0.8092 MB / 1.16 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002876/0.007008, allocations: 268.2 kB / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001047/0.008055, allocations: 0.9481 MB / 1.161 GB, free: 20.97 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002334/0.008288, allocations: 249.7 kB / 1.162 GB, free: 20.83 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001824/0.008471, allocations: 215.2 kB / 1.162 GB, free: 20.7 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003277/0.008798, allocations: 336.8 kB / 1.162 GB, free: 20.44 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001009/0.008899, allocations: 56.95 kB / 1.162 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001373/0.009037, allocations: 122.6 kB / 1.162 GB, free: 20.34 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003099/0.009347, allocations: 234.9 kB / 1.162 GB, free: 20.29 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003816/0.009728, allocations: 0.5231 MB / 1.163 GB, free: 20.02 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006396/0.01037, allocations: 0.5421 MB / 1.164 GB, free: 19.69 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006081/0.01098, allocations: 0.7408 MB / 1.164 GB, free: 19.27 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.688e-05/0.011, allocations: 19.72 kB / 1.164 GB, free: 19.25 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001046/0.01111, allocations: 122.5 kB / 1.164 GB, free: 19.18 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0008078/0.01192, allocations: 0.6263 MB / 1.165 GB, free: 19.02 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.482e-05/0.01193, allocations: 17.38 kB / 1.165 GB, free: 19.01 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.01193, allocations: 0 / 1.165 GB, free: 19.01 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.158e-05/0.01197, allocations: 31.47 kB / 1.165 GB, free: 18.98 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.978e-06/0.01198, allocations: 0 / 1.165 GB, free: 18.98 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.518e-06/0.01198, allocations: 8.188 kB / 1.165 GB, free: 18.98 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.123e-06/0.01199, allocations: 2 kB / 1.165 GB, free: 18.98 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001946/0.01218, allocations: 170.5 kB / 1.165 GB, free: 18.9 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.578e-05/0.01226, allocations: 179.6 kB / 1.165 GB, free: 18.7 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 3.773e-05/0.0123, allocations: 45.28 kB / 1.165 GB, free: 18.67 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008443/0.01314, allocations: 0.7333 MB / 1.166 GB, free: 18.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.005469/0.01861, allocations: 2.61 MB / 1.169 GB, free: 18.05 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.605830635002349] Failed to read output from testmodel.py, exit status != 0: 0.02481780300149694 0.035297191000000006 0.027829897000000003 Calling exit ...