Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001475/0.001475, 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.001601/0.001601, allocations: 214.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.318/1.318, allocations: 230.7 MB / 256.9 MB, free: 7.77 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.83/2.83, allocations: 0.4893 GB / 0.7952 GB, free: 35.68 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.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.526e-05, allocations: 2.281 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001398/0.001414, allocations: 0.6532 MB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.002398, allocations: 1.079 MB / 1.156 GB, free: 24.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.002435, allocations: 4.688 kB / 1.156 GB, free: 24.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.002456, allocations: 4.922 kB / 1.156 GB, free: 24.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.002509, allocations: 7.062 kB / 1.156 GB, free: 24.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.002738, allocations: 47.97 kB / 1.156 GB, free: 24.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.002817, allocations: 49.16 kB / 1.156 GB, free: 24.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.00289, allocations: 6.031 kB / 1.156 GB, free: 24.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.002939, allocations: 26.11 kB / 1.156 GB, free: 24.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.002976, allocations: 21.19 kB / 1.156 GB, free: 24.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.00299, allocations: 6.25 kB / 1.156 GB, free: 24.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.003042, allocations: 20.38 kB / 1.156 GB, free: 24.45 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.824e-05/0.00311, allocations: 88.02 kB / 1.156 GB, free: 24.39 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.954e-05/0.00313, allocations: 42.75 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.00315, allocations: 6.281 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.428e-06/0.00316, allocations: 1.062 kB / 1.156 GB, free: 24.36 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0003261/0.003486, allocations: 344.5 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.795e-05/0.003534, allocations: 43.58 kB / 1.157 GB, free: 23.96 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002037/0.003737, allocations: 213.7 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.754e-05/0.003805, allocations: 83.56 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002956/0.0041, allocations: 225.8 kB / 1.157 GB, free: 23.53 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.732e-05/0.004158, allocations: 87.02 kB / 1.157 GB, free: 23.43 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.589e-05/0.004184, allocations: 51.81 kB / 1.157 GB, free: 23.36 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001237/0.004307, allocations: 123.8 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.463e-05/0.004372, allocations: 35.67 kB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.287e-05/0.004455, allocations: 68.36 kB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000153/0.004608, allocations: 107.7 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001029/0.004711, allocations: 139 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001872/0.004898, allocations: 162 kB / 1.158 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001582/0.005056, allocations: 214.6 kB / 1.158 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.261e-05/0.005069, allocations: 13.48 kB / 1.158 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.319e-05/0.005102, allocations: 34.19 kB / 1.158 GB, free: 22.76 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000359/0.005461, allocations: 253.1 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.207e-06/0.00547, allocations: 9.969 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.005471, allocations: 0 / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.014e-05/0.005521, allocations: 36.78 kB / 1.159 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.827e-06/0.005525, allocations: 1.188 kB / 1.159 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.767e-06/0.005528, allocations: 9.531 kB / 1.159 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.18e-06/0.005534, allocations: 0.9688 kB / 1.159 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001809/0.005714, allocations: 151.8 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.036e-05/0.005795, allocations: 177.5 kB / 1.159 GB, free: 22.4 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: .................... 2 (2) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.113e-05/0.005826, allocations: 31.75 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000413/0.006239, allocations: 288.2 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.002979/0.009218, allocations: 0.7518 MB / 1.16 GB, free: 22.09 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.4852201960165985] Failed to read output from testmodel.py, exit status != 0: 0.015453252010047436 0.025826461000000002 0.020409162 Calling exit ...