Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001364/0.001364, allocations: 113.8 kB / 16.43 MB, free: 6.516 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.001335/0.001335, allocations: 183.2 kB / 17.35 MB, free: 5.715 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.093/1.093, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.128/2.128, allocations: 469.8 MB / 0.7431 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.071e-05, allocations: 6.281 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001249/0.001269, allocations: 0.7607 MB / 1.067 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002327, allocations: 1.065 MB / 1.068 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.002375, allocations: 7.938 kB / 1.068 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.002404, allocations: 3.938 kB / 1.068 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.002464, allocations: 19.86 kB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.002684, allocations: 43.89 kB / 1.068 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.002789, allocations: 83.75 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.002872, allocations: 16.12 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.002926, allocations: 27.92 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.002983, allocations: 31.89 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.003003, allocations: 11.94 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.154e-05/0.003058, allocations: 19.98 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.006e-05/0.003134, allocations: 98.91 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.712e-05/0.003166, allocations: 63.03 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.003188, allocations: 11.94 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.427e-06/0.003201, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 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.0003504/0.003556, allocations: 347.6 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.499e-05/0.003629, allocations: 31.77 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002279/0.003863, allocations: 224.1 kB / 1.069 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simplify1: time 5.483e-05/0.003926, allocations: 68.33 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002649/0.004197, allocations: 192.8 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simplify2: time 5.623e-05/0.004262, allocations: 64.95 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001925/0.004459, allocations: 94.64 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of Events: time 0.0001074/0.004574, allocations: 71.86 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.079e-05/0.004652, allocations: 64.36 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001995/0.004856, allocations: 184.3 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001513/0.005016, allocations: 196.3 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002372/0.005259, allocations: 284.9 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.775e-05/0.005284, allocations: 20.09 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.469e-05/0.005322, allocations: 51.88 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003083/0.005636, allocations: 276.7 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of Tearing: time 6.432e-06/0.005657, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of Initialization: time 3.51e-07/0.005662, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of Tearing: time 1.322e-06/0.005667, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of Categorize: time 5.871e-06/0.005678, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of Solve: time 8.019e-05/0.005761, allocations: 55.81 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.014e-06/0.005769, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8419 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 3.198e-05/0.005805, allocations: 37.69 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005136/0.006322, allocations: 0.9212 MB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of Templates: time 0.002588/0.008921, allocations: 1.078 MB / 1.072 GB, free: 6.773 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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