Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 111.4 kB / 18.35 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 189.9 kB / 21.51 MB, free: 0.9141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 250.1 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.612/2.612, allocations: 496.2 MB / 0.7826 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/1.966e-05, allocations: 4.812 kB / 1.137 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001734/0.001753, allocations: 0.7711 MB / 1.137 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003117, allocations: 1.08 MB / 1.138 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.003163, allocations: 7.938 kB / 1.138 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.003194, allocations: 3.938 kB / 1.138 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.003262, allocations: 7.875 kB / 1.138 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.003549, allocations: 59.88 kB / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003679, allocations: 79.7 kB / 1.138 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.003772, allocations: 20.16 kB / 1.138 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.003836, allocations: 27.92 kB / 1.139 GB, free: 10.47 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.003893, allocations: 27.86 kB / 1.139 GB, free: 10.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.00391, allocations: 8 kB / 1.139 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.003971, allocations: 15.98 kB / 1.139 GB, free: 10.42 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001212/0.004093, allocations: 114.9 kB / 1.139 GB, free: 10.3 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 4.384e-05/0.004136, allocations: 66.95 kB / 1.139 GB, free: 10.24 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.004162, allocations: 12 kB / 1.139 GB, free: 10.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.348e-05/0.004175, allocations: 3.938 kB / 1.139 GB, free: 10.22 MB / 0.92 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 Bindings: time 0.0005338/0.004709, allocations: 382.5 kB / 1.139 GB, free: 9.734 MB / 0.92 GB Notification: Performance of FunctionAlias: time 9.429e-05/0.004803, allocations: 30.78 kB / 1.139 GB, free: 9.707 MB / 0.92 GB Notification: Performance of Early Inline: time 0.000312/0.005115, allocations: 232.4 kB / 1.139 GB, free: 9.453 MB / 0.92 GB Notification: Performance of Simplify 1: time 7.544e-05/0.005191, allocations: 60.41 kB / 1.139 GB, free: 9.367 MB / 0.92 GB Notification: Performance of Alias: time 0.0004698/0.005661, allocations: 248.8 kB / 1.14 GB, free: 9.051 MB / 0.92 GB Notification: Performance of Simplify 2: time 8.701e-05/0.005748, allocations: 68.94 kB / 1.14 GB, free: 8.957 MB / 0.92 GB Notification: Performance of Remove Stream: time 6.148e-05/0.005809, allocations: 60.41 kB / 1.14 GB, free: 8.871 MB / 0.92 GB Notification: Performance of Detect States: time 0.0002523/0.006061, allocations: 136.5 kB / 1.14 GB, free: 8.699 MB / 0.92 GB Notification: Performance of Events: time 9.343e-05/0.006155, allocations: 47.78 kB / 1.14 GB, free: 8.652 MB / 0.92 GB Notification: Performance of Partitioning: time 8.462e-05/0.006239, allocations: 56.09 kB / 1.14 GB, free: 8.59 MB / 0.92 GB Notification: Performance of Causalize: time 0.000229/0.006469, allocations: 148 kB / 1.14 GB, free: 8.438 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001299/0.006598, allocations: 127.8 kB / 1.14 GB, free: 8.312 MB / 0.92 GB Notification: Performance of Simplify: time 0.000212/0.00681, allocations: 156.6 kB / 1.14 GB, free: 8.109 MB / 0.92 GB Notification: Performance of Inline: time 0.000169/0.006979, allocations: 180.4 kB / 1.141 GB, free: 7.93 MB / 0.92 GB Notification: Performance of Partitioning: time 1.852e-05/0.006998, allocations: 16.12 kB / 1.141 GB, free: 7.906 MB / 0.92 GB Notification: Performance of Cleanup: time 3.599e-05/0.007034, allocations: 39.95 kB / 1.141 GB, free: 7.867 MB / 0.92 GB Notification: Performance of Causalize: time 0.000421/0.007455, allocations: 338.7 kB / 1.141 GB, free: 7.531 MB / 0.92 GB Notification: Performance of Tearing: time 8.155e-06/0.007463, allocations: 0 / 1.141 GB, free: 7.531 MB / 0.92 GB Notification: Performance of Initialization: time 3.2e-07/0.007463, allocations: 4 kB / 1.141 GB, free: 7.527 MB / 0.92 GB Notification: Performance of Remove Dummies: time 2.735e-06/0.007466, allocations: 0 / 1.141 GB, free: 7.527 MB / 0.92 GB Notification: Performance of Tearing: time 7.12e-07/0.007467, allocations: 0 / 1.141 GB, free: 7.527 MB / 0.92 GB Notification: Performance of Categorize: time 8.405e-06/0.007475, allocations: 7.984 kB / 1.141 GB, free: 7.52 MB / 0.92 GB Notification: Performance of Solve: time 9.218e-05/0.007567, allocations: 59.86 kB / 1.141 GB, free: 7.461 MB / 0.92 GB Notification: Performance of Jacobian: time 3.877e-06/0.007571, allocations: 0 / 1.141 GB, free: 7.461 MB / 0.92 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 4.622e-05/0.007617, allocations: 23.5 kB / 1.141 GB, free: 7.441 MB / 0.92 GB Notification: Performance of SimCode: time 0.000787/0.008404, allocations: 0.8997 MB / 1.142 GB, free: 6.512 MB / 0.92 GB Notification: Performance of Templates: time 0.003335/0.01174, allocations: 0.9067 MB / 1.143 GB, free: 5.637 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.221288005821407]