Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.00193/0.00193, allocations: 80.88 kB / 21.56 MB, free: 2.93 MB / 18.57 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.002024/0.002024, allocations: 166.3 kB / 24.97 MB, free: 9.195 MB / 18.57 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.711/1.711, allocations: 177.1 MB / 205.4 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.395/3.395, allocations: 389.5 MB / 0.6361 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.313e-05, allocations: 3.188 kB / 0.7759 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002407/0.00243, allocations: 0.7271 MB / 0.7766 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.004358, allocations: 1.123 MB / 0.7777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.004413, allocations: 2.656 kB / 0.7777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.004448, allocations: 3.938 kB / 0.7777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.004518, allocations: 2.734 kB / 0.7777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.004837, allocations: 48.8 kB / 0.7778 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.004976, allocations: 51.3 kB / 0.7778 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.005068, allocations: 17.62 kB / 0.7778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.005165, allocations: 23.56 kB / 0.7779 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.00522, allocations: 20.62 kB / 0.7779 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.005238, allocations: 4 kB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.005335, allocations: 20.95 kB / 0.7779 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of combineBinaries: time 0.0001098/0.005445, allocations: 66.78 kB / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of replaceArrayConstructors: time 3.958e-05/0.005484, allocations: 32.56 kB / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.005498, allocations: 0 / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.895e-05/0.005517, allocations: 12.42 kB / 0.778 GB, free: 3.258 MB / 0.7292 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.0007019/0.006219, allocations: 352.7 kB / 0.7784 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002061/0.006425, allocations: 63.97 kB / 0.7784 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of [SIM] Early Inline: time 0.0004205/0.006846, allocations: 244.1 kB / 0.7786 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of [SIM] Simplify 1: time 0.0001319/0.006978, allocations: 67.08 kB / 0.7787 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of [SIM] Alias: time 0.00061/0.007588, allocations: 242.4 kB / 0.7789 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of [SIM] Simplify 2: time 9.601e-05/0.007684, allocations: 57.48 kB / 0.779 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of [SIM] Remove Stream: time 7.925e-05/0.007763, allocations: 44.42 kB / 0.779 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of [SIM] Detect States: time 0.0003237/0.008087, allocations: 156.2 kB / 0.7792 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of [SIM] Events: time 0.0001376/0.008224, allocations: 38.27 kB / 0.7792 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of [SIM] Partitioning: time 0.0002532/0.008477, allocations: 125.8 kB / 0.7793 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of [SIM] Causalize: time 0.0002534/0.008731, allocations: 93.39 kB / 0.7794 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002264/0.008957, allocations: 160.7 kB / 0.7796 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of [INI] Simplify: time 0.0003831/0.00934, allocations: 149.5 kB / 0.7797 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of [INI] Inline: time 0.0003787/0.009719, allocations: 272.5 kB / 0.78 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of [INI] Partitioning: time 2.591e-05/0.009745, allocations: 16.86 kB / 0.78 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of [INI] Cleanup: time 6.548e-05/0.00981, allocations: 35.97 kB / 0.78 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of [INI] Causalize: time 0.000541/0.01035, allocations: 253.7 kB / 0.7803 GB, free: 476 kB / 0.7292 GB Notification: Performance of [INI] Tearing: time 1.677e-05/0.01037, allocations: 4 kB / 0.7803 GB, free: 472 kB / 0.7292 GB Notification: Performance of [SIM] Initialization: time 1.293e-06/0.01037, allocations: 1.062 kB / 0.7803 GB, free: 472 kB / 0.7292 GB Notification: Performance of [SIM] Remove Dummies: time 6.111e-06/0.01038, allocations: 4 kB / 0.7803 GB, free: 468 kB / 0.7292 GB Notification: Performance of [SIM] Tearing: time 2.225e-06/0.01038, allocations: 4.781 kB / 0.7803 GB, free: 464 kB / 0.7292 GB Notification: Performance of [SIM] Categorize: time 9.228e-06/0.01039, allocations: 0 / 0.7803 GB, free: 464 kB / 0.7292 GB Notification: Performance of [SIM] Solve: time 0.0001886/0.01058, allocations: 81.78 kB / 0.7804 GB, free: 384 kB / 0.7292 GB Notification: Performance of [SIM] Jacobian: time 1.123e-05/0.01059, allocations: 0 / 0.7804 GB, free: 384 kB / 0.7292 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.31e-07/0.01059, allocations: 0 / 0.7804 GB, free: 384 kB / 0.7292 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, $SEV_1, $SEV_0, $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: ........... 11 (scalar:11, 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 6.872e-05/0.01066, allocations: 21.86 kB / 0.7804 GB, free: 376 kB / 0.7292 GB Notification: Performance of SimCode: time 0.0007767/0.01143, allocations: 231 kB / 0.7806 GB, free: 140 kB / 0.7292 GB Notification: Performance of Templates: time 0.00455/0.01598, allocations: 0.8616 MB / 0.7815 GB, free: 15.31 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.448639118112624]