Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.00118/0.00118, 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.001497/0.001497, allocations: 217.7 kB / 23.07 MB, free: 4.848 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.325/1.325, allocations: 230.7 MB / 256.9 MB, free: 7.727 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.85/2.85, allocations: 0.4893 GB / 0.7952 GB, free: 35.48 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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.546e-05, allocations: 2.281 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001521/0.001536, allocations: 0.7491 MB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002678, allocations: 1.18 MB / 1.156 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.002723, allocations: 1.125 kB / 1.156 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.002752, allocations: 8.594 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.002814, allocations: 16.62 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.00324, allocations: 139.5 kB / 1.156 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.003402, allocations: 131.8 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.003497, allocations: 15.97 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.003571, allocations: 53.23 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.003643, allocations: 42.66 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.003668, allocations: 11.91 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.003733, allocations: 29.27 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001081/0.003841, allocations: 158.2 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.099e-05/0.003872, allocations: 75.7 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.0039, allocations: 8.312 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.104e-05/0.003911, allocations: 5.5 kB / 1.157 GB, free: 23.88 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0004703/0.004382, allocations: 0.528 MB / 1.157 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.703e-05/0.004429, allocations: 47.02 kB / 1.158 GB, free: 23.37 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003792/0.004808, allocations: 392 kB / 1.158 GB, free: 23.15 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001607/0.004969, allocations: 160.9 kB / 1.158 GB, free: 23.03 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004814/0.00545, allocations: 387.1 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001397/0.00559, allocations: 163 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001064/0.005696, allocations: 117.5 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000211/0.005907, allocations: 210 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.73e-05/0.005984, allocations: 49.86 kB / 1.159 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001004/0.006085, allocations: 71.22 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002001/0.006285, allocations: 128.5 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000226/0.006511, allocations: 291 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003056/0.006817, allocations: 269.8 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002937/0.00711, allocations: 378.8 kB / 1.16 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.347e-05/0.007124, allocations: 14.89 kB / 1.16 GB, free: 21.71 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.221e-05/0.007176, allocations: 60.88 kB / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002981/0.007474, allocations: 211.9 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.568e-06/0.007484, allocations: 6.156 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.007484, allocations: 0 / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.149e-05/0.007536, allocations: 43.88 kB / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.456e-06/0.007539, allocations: 0 / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.737e-06/0.007543, allocations: 7.75 kB / 1.16 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.881e-06/0.007549, allocations: 9 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001402/0.007689, allocations: 105.7 kB / 1.16 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.84e-05/0.007777, allocations: 181.4 kB / 1.161 GB, free: 21.34 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) {triSam1.y, triSam.y, booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {triSam.trigger, $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: ........... 7 (scalar:7, 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: ........... 12 (scalar:12, 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 2.999e-05/0.007807, allocations: 24.94 kB / 1.161 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005008/0.008308, allocations: 359.4 kB / 1.161 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.003927/0.01224, allocations: 1.406 MB / 1.162 GB, free: 20.93 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.604216567997355] Failed to read output from testmodel.py, exit status != 0: 0.01848347601480782 0.028955909000000002 0.022809122 Calling exit ...