Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001551/0.001551, 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.00168/0.00168, allocations: 217.5 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.403/1.403, allocations: 230.6 MB / 256.9 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.134/3.134, allocations: 0.5108 GB / 0.8167 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/1.905e-05, allocations: 6.219 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001664/0.001683, allocations: 0.7501 MB / 1.188 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.002945, allocations: 1.175 MB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.002992, allocations: 1.156 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.00302, allocations: 12.47 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.003089, allocations: 12.12 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.003534, allocations: 145 kB / 1.189 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.003704, allocations: 125.9 kB / 1.189 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.003802, allocations: 21.62 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.003884, allocations: 44.5 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.00397, allocations: 49.88 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.003999, allocations: 13.78 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.004072, allocations: 23.48 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001339/0.004206, allocations: 163 kB / 1.19 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.475e-05/0.004241, allocations: 72.16 kB / 1.19 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.004275, allocations: 7.094 kB / 1.19 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-05/0.004287, allocations: 14.47 kB / 1.19 GB, free: 11.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.0005613/0.004848, allocations: 0.5291 MB / 1.19 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.37e-05/0.004902, allocations: 42.31 kB / 1.19 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004492/0.005351, allocations: 393.1 kB / 1.191 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000187/0.005538, allocations: 161.5 kB / 1.191 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005439/0.006082, allocations: 377.5 kB / 1.191 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001675/0.00625, allocations: 167 kB / 1.191 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001235/0.006373, allocations: 121.5 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002433/0.006617, allocations: 203.5 kB / 1.192 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.968e-05/0.006696, allocations: 44.89 kB / 1.192 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001168/0.006813, allocations: 70.33 kB / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002174/0.007031, allocations: 137.7 kB / 1.192 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002566/0.007287, allocations: 278.4 kB / 1.192 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003423/0.007629, allocations: 280.6 kB / 1.192 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003314/0.007961, allocations: 375.5 kB / 1.193 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.513e-05/0.007976, allocations: 15.34 kB / 1.193 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.074e-05/0.008037, allocations: 60.08 kB / 1.193 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003441/0.008381, allocations: 210.3 kB / 1.193 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.445e-05/0.008395, allocations: 14.75 kB / 1.193 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.008396, allocations: 0 / 1.193 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.559e-05/0.008451, allocations: 37.14 kB / 1.193 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.449e-06/0.008456, allocations: 4 kB / 1.193 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.108e-06/0.00846, allocations: 10.69 kB / 1.193 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.801e-06/0.008466, allocations: 1.094 kB / 1.193 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001602/0.008626, allocations: 106 kB / 1.193 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.441e-05/0.00872, allocations: 175.9 kB / 1.193 GB, free: 9.25 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.525e-05/0.008755, allocations: 32.5 kB / 1.193 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005846/0.00934, allocations: 367.2 kB / 1.194 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of Templates: time 0.00437/0.01371, allocations: 1.384 MB / 1.195 GB, free: 8.859 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.326906563015655] Failed to read output from testmodel.py, exit status != 0: 0.020591025007888675 0.031935798 0.025101722 Calling exit ...