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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001135, allocations: 108.6 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 187.2 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.266/2.266, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/1.892e-05, allocations: 2.281 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001504/0.001535, allocations: 0.7642 MB / 1.055 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002707, allocations: 1.077 MB / 1.056 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.002756, allocations: 0 / 1.056 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.002789, allocations: 3.938 kB / 1.056 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.002852, allocations: 15.86 kB / 1.056 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003108, allocations: 47.83 kB / 1.057 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003223, allocations: 79.81 kB / 1.057 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.003323, allocations: 28.05 kB / 1.057 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.003387, allocations: 27.92 kB / 1.057 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.003446, allocations: 35.83 kB / 1.057 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.003468, allocations: 11.94 kB / 1.057 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.003537, allocations: 19.98 kB / 1.057 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.691e-05/0.003621, allocations: 98.92 kB / 1.057 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.601e-05/0.003652, allocations: 55.12 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.003676, allocations: 11.94 kB / 1.057 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.145e-05/0.003691, allocations: 0 / 1.057 GB, free: 5.457 MB / 0.8262 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.0003834/0.00408, allocations: 403.5 kB / 1.057 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.629e-05/0.004152, allocations: 31.8 kB / 1.057 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002894/0.004448, allocations: 272.1 kB / 1.058 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simplify1: time 3.076e-05/0.004487, allocations: 27.95 kB / 1.058 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003354/0.004828, allocations: 241.4 kB / 1.058 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simplify2: time 3.021e-05/0.004869, allocations: 35.95 kB / 1.058 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Events: time 0.0001235/0.004997, allocations: 79.8 kB / 1.058 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001516/0.005156, allocations: 118.3 kB / 1.058 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.974e-05/0.005263, allocations: 76.3 kB / 1.058 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002489/0.005518, allocations: 228.2 kB / 1.058 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001995/0.005725, allocations: 252.4 kB / 1.059 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of Inline: time 0.0003034/0.006035, allocations: 340.1 kB / 1.059 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.283e-05/0.006067, allocations: 32.03 kB / 1.059 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.644e-05/0.006089, allocations: 11.98 kB / 1.059 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003826/0.006475, allocations: 356.7 kB / 1.059 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Tearing: time 7.043e-06/0.006491, allocations: 0 / 1.059 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Initialization: time 3.21e-07/0.006496, allocations: 0 / 1.059 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Tearing: time 1.302e-06/0.006501, allocations: 0 / 1.059 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of Categorize: time 8.215e-06/0.006512, allocations: 4 kB / 1.059 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of Solve: time 9.047e-05/0.006608, allocations: 59.84 kB / 1.059 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of Jacobian: time 4.308e-06/0.006619, allocations: 3.938 kB / 1.059 GB, free: 2.613 MB / 0.8262 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: ......... 3 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {samTri.y, samTri1.y, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 9 (scalar:9, 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 (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: ........... 17 (scalar:17, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.074e-05/0.006663, allocations: 22.47 kB / 1.059 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0006475/0.007315, allocations: 0.922 MB / 1.06 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of Templates: time 0.00291/0.01024, allocations: 1.065 MB / 1.061 GB, free: 0.6211 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) 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) "" 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