Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001548/0.001548, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001632/0.001632, allocations: 217.8 kB / 23.07 MB, free: 4.844 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.326/1.326, allocations: 230.6 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] 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.555/2.555, allocations: 476 MB / 0.7708 GB, free: 4.637 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.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/1.901e-05, allocations: 7.375 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001506/0.001525, allocations: 0.6495 MB / 1.119 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002621, allocations: 1.085 MB / 1.12 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.002656, allocations: 0.7188 kB / 1.12 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002682, allocations: 6.969 kB / 1.12 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.002732, allocations: 5 kB / 1.12 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.00297, allocations: 47.28 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.003055, allocations: 47.06 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.00314, allocations: 14.28 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.003193, allocations: 18.19 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.003234, allocations: 26.23 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.003248, allocations: 4.344 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/0.003304, allocations: 21.2 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.252e-05/0.003377, allocations: 81.7 kB / 1.12 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.204e-05/0.003399, allocations: 51.7 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.003415, allocations: 3.188 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.526e-06/0.003423, allocations: 0.8438 kB / 1.12 GB, free: 40.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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.000345/0.003768, allocations: 349.8 kB / 1.12 GB, free: 40.64 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.232e-05/0.003811, allocations: 44.08 kB / 1.12 GB, free: 40.62 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001953/0.004006, allocations: 208 kB / 1.12 GB, free: 40.56 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.346e-05/0.004069, allocations: 86.28 kB / 1.121 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002956/0.004365, allocations: 225.7 kB / 1.121 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.331e-05/0.004418, allocations: 92.27 kB / 1.121 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.669e-05/0.004445, allocations: 51.3 kB / 1.121 GB, free: 40.16 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001174/0.004562, allocations: 121 kB / 1.121 GB, free: 40.04 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.453e-05/0.004627, allocations: 28.16 kB / 1.121 GB, free: 40.04 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.643e-05/0.004713, allocations: 69.48 kB / 1.121 GB, free: 40.02 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001475/0.004861, allocations: 112.5 kB / 1.121 GB, free: 40 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 8.188e-05/0.004943, allocations: 137.1 kB / 1.121 GB, free: 40 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001841/0.005127, allocations: 155.2 kB / 1.122 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001251/0.005252, allocations: 214.2 kB / 1.122 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.025e-05/0.005262, allocations: 13.78 kB / 1.122 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.518e-05/0.005287, allocations: 39.94 kB / 1.122 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003074/0.005595, allocations: 260.9 kB / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.626e-06/0.005603, allocations: 1.281 kB / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.005604, allocations: 2.844 kB / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.753e-05/0.005651, allocations: 35.22 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.497e-06/0.005655, allocations: 0 / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.695e-06/0.005657, allocations: 6.656 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.569e-06/0.005662, allocations: 1.406 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001551/0.005817, allocations: 151.6 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.43e-05/0.005891, allocations: 179.6 kB / 1.122 GB, free: 39.55 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.279e-05/0.005924, allocations: 23.02 kB / 1.122 GB, free: 39.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004149/0.006339, allocations: 279.6 kB / 1.123 GB, free: 39.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.002926/0.009265, allocations: 0.7627 MB / 1.123 GB, free: 39.38 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.541988997953013] Failed to read output from testmodel.py, exit status != 0: 0.44532125600380823 0.025160782000000003 0.019620714 Calling exit ...