Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001363/0.001363, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.001477/0.001477, allocations: 213.5 kB / 23.01 MB, free: 4.961 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.271/1.271, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.76/2.76, allocations: 0.49 GB / 0.7958 GB, free: 35.6 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.172e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001381/0.001402, allocations: 0.7408 MB / 1.156 GB, free: 24.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.002359, allocations: 1.087 MB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.002403, allocations: 1.531 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.002429, allocations: 9.828 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.002493, allocations: 15.39 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.002733, allocations: 52.88 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.002827, allocations: 81.06 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.002915, allocations: 13.17 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.002971, allocations: 30.55 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.003021, allocations: 38.03 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003037, allocations: 6.656 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.003089, allocations: 18.11 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.184e-05/0.003171, allocations: 124.7 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.687e-05/0.003198, allocations: 79.17 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.003217, allocations: 5.344 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-05/0.003227, allocations: 1.438 kB / 1.157 GB, free: 23.73 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: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0003754/0.003603, allocations: 430.7 kB / 1.158 GB, free: 23.32 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.164e-05/0.003684, allocations: 73.36 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003014/0.003986, allocations: 304.8 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.328e-05/0.004079, allocations: 109.6 kB / 1.158 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003674/0.004446, allocations: 301.4 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.765e-05/0.004524, allocations: 109.2 kB / 1.159 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.465e-05/0.004559, allocations: 58.56 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001391/0.004698, allocations: 143.2 kB / 1.159 GB, free: 22.42 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.681e-05/0.004765, allocations: 42.22 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.603e-05/0.004851, allocations: 64.91 kB / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001618/0.005012, allocations: 123.3 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001333/0.005146, allocations: 183.7 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001934/0.005339, allocations: 200.5 kB / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001803/0.005519, allocations: 260.4 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.326e-05/0.005533, allocations: 15.81 kB / 1.16 GB, free: 21.91 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.279e-05/0.005565, allocations: 41.98 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002781/0.005844, allocations: 226.8 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.246e-05/0.005856, allocations: 10.94 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.005856, allocations: 3.938 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.626e-06/0.00586, allocations: 4.75 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.516e-06/0.005864, allocations: 6.844 kB / 1.16 GB, free: 21.81 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.661e-06/0.005869, allocations: 5.281 kB / 1.16 GB, free: 21.81 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000223/0.006092, allocations: 216.7 kB / 1.16 GB, free: 21.75 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.27e-06/0.006097, allocations: 0 / 1.16 GB, free: 21.75 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) {triggeredSampler1.y, triggeredSampler.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {samTri.y, samTri1.y, $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: ............ 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: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.856e-05/0.006126, allocations: 26.86 kB / 1.16 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003955/0.006522, allocations: 312.7 kB / 1.16 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of Templates: time 0.003048/0.00957, allocations: 0.9612 MB / 1.161 GB, free: 21.43 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:ramp.duration,ramp.height,ramp.offset,ramp.startTime,samTri.period,samTri.shift,samTri.t0,samTri.y,samTri1.period,samTri1.shift,samTri1.t0,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,triggeredSampler1.u,triggeredSampler1.y,triggeredSampler1.y_start [Calling sys.exit(0), Time elapsed: 7.183807272929698]