Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001408/0.001408, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001585/0.001585, allocations: 210.5 kB / 23.01 MB, free: 4.93 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.306/1.306, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.793/2.793, allocations: 0.49 GB / 0.7958 GB, free: 35.41 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.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.153e-05, allocations: 2.281 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001448/0.00147, allocations: 0.6577 MB / 1.156 GB, free: 24.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.002543, allocations: 1.072 MB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.002585, allocations: 3.938 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.002608, allocations: 4.734 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.002668, allocations: 8.859 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.002924, allocations: 51.27 kB / 1.157 GB, free: 23.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.732e-05/0.003021, allocations: 51.97 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.003108, allocations: 10.47 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.003163, allocations: 21.52 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.003208, allocations: 23.52 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.003222, allocations: 5 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.003281, allocations: 25.12 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.16e-05/0.003353, allocations: 82.02 kB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.22e-05/0.003375, allocations: 51.66 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.003391, allocations: 0 / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.887e-06/0.0034, allocations: 1 kB / 1.157 GB, free: 23.82 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.0003687/0.003769, allocations: 348.6 kB / 1.157 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.118e-05/0.00382, allocations: 40.09 kB / 1.157 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002214/0.004041, allocations: 204.6 kB / 1.158 GB, free: 23.29 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.021e-05/0.004112, allocations: 96.44 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002875/0.004399, allocations: 215.2 kB / 1.158 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.947e-05/0.004459, allocations: 88.64 kB / 1.158 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.423e-05/0.004483, allocations: 56.67 kB / 1.158 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001133/0.004596, allocations: 116 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.137e-05/0.004657, allocations: 38.72 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.215e-05/0.00474, allocations: 65.62 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00015/0.00489, allocations: 107.1 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.238e-05/0.004982, allocations: 144.3 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001794/0.005161, allocations: 160.4 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001454/0.005307, allocations: 211 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.087e-05/0.005318, allocations: 19.61 kB / 1.159 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.23e-05/0.00535, allocations: 32.11 kB / 1.159 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003399/0.00569, allocations: 253.1 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.025e-05/0.0057, allocations: 5.938 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.01e-07/0.005701, allocations: 1.125 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.866e-06/0.005704, allocations: 0 / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.176e-06/0.005707, allocations: 9.281 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.26e-06/0.005712, allocations: 0.875 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001469/0.005859, allocations: 112 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.101e-06/0.005865, allocations: 0 / 1.159 GB, free: 22.09 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.534e-05/0.005901, allocations: 35.53 kB / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004122/0.006313, allocations: 260 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.002887/0.0092, allocations: 0.7783 MB / 1.16 GB, free: 21.77 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_Sampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.223222331609577]