Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001496/0.001496, 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.00167/0.00167, allocations: 216.6 kB / 23.06 MB, free: 4.98 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.358/1.358, allocations: 230.7 MB / 256.9 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.524/2.524, allocations: 476 MB / 0.7708 GB, free: 4.648 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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.241e-05, allocations: 4.25 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001765/0.001788, allocations: 0.7339 MB / 1.119 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003029, allocations: 1.189 MB / 1.12 GB, free: 40.94 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.003078, allocations: 2.688 kB / 1.12 GB, free: 40.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.003107, allocations: 7.875 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.00317, allocations: 14.06 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.003624, allocations: 137.3 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.003787, allocations: 139.5 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.003883, allocations: 11.88 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.003965, allocations: 53.28 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.004042, allocations: 40.52 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.004068, allocations: 13.62 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.004133, allocations: 29.39 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001105/0.004244, allocations: 165.4 kB / 1.12 GB, free: 40.84 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.627e-05/0.00427, allocations: 69.75 kB / 1.12 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.0043, allocations: 8.469 kB / 1.12 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.334e-05/0.004313, allocations: 7.875 kB / 1.12 GB, free: 40.79 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.0004742/0.004787, allocations: 0.5339 MB / 1.121 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.018e-05/0.004827, allocations: 43.78 kB / 1.121 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003339/0.005161, allocations: 390.1 kB / 1.121 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001446/0.005306, allocations: 158.6 kB / 1.122 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004475/0.005753, allocations: 393.7 kB / 1.122 GB, free: 40.07 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001193/0.005873, allocations: 156.9 kB / 1.122 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.778e-05/0.005971, allocations: 120.9 kB / 1.122 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002212/0.006192, allocations: 199.7 kB / 1.122 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.845e-05/0.00627, allocations: 43.17 kB / 1.122 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.229e-05/0.006362, allocations: 76.98 kB / 1.122 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001798/0.006542, allocations: 141.3 kB / 1.123 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001756/0.006718, allocations: 278.8 kB / 1.123 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002699/0.006988, allocations: 274 kB / 1.123 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002157/0.007203, allocations: 376.4 kB / 1.124 GB, free: 39.56 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.291e-05/0.007216, allocations: 15.16 kB / 1.124 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.258e-05/0.007259, allocations: 63.92 kB / 1.124 GB, free: 39.52 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002651/0.007524, allocations: 208.8 kB / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.079e-05/0.007535, allocations: 5.969 kB / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.007535, allocations: 2.938 kB / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.994e-05/0.007585, allocations: 36.42 kB / 1.124 GB, free: 39.44 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.258e-06/0.007589, allocations: 7.938 kB / 1.124 GB, free: 39.43 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.264e-06/0.007592, allocations: 3.469 kB / 1.124 GB, free: 39.43 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.46e-06/0.007597, allocations: 0.9688 kB / 1.124 GB, free: 39.43 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001251/0.007722, allocations: 108.5 kB / 1.124 GB, free: 39.4 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.861e-05/0.007811, allocations: 183.9 kB / 1.124 GB, free: 39.2 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 3.599e-05/0.007847, allocations: 24.83 kB / 1.124 GB, free: 39.2 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005131/0.00836, allocations: 362 kB / 1.124 GB, free: 39.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003739/0.0121, allocations: 1.403 MB / 1.126 GB, free: 38.93 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.615005990024656] Failed to read output from testmodel.py, exit status != 0: 0.47218705603154376 0.028110304000000003 0.021730209 Calling exit ...