Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001212/0.001212, allocations: 183.2 kB / 17.36 MB, free: 5.73 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.218/1.218, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.252/2.252, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.108e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001492/0.001524, allocations: 0.7486 MB / 1.055 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.002734, allocations: 1.084 MB / 1.056 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.00279, allocations: 0 / 1.056 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.002826, allocations: 7.938 kB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.002897, allocations: 7.875 kB / 1.056 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.003169, allocations: 51.81 kB / 1.057 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.003294, allocations: 83.83 kB / 1.057 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.003394, allocations: 20.16 kB / 1.057 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.003461, allocations: 27.86 kB / 1.057 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.003518, allocations: 35.84 kB / 1.057 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.003539, allocations: 4 kB / 1.057 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.003604, allocations: 23.92 kB / 1.057 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.117e-05/0.003691, allocations: 102.9 kB / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.294e-05/0.003731, allocations: 63.12 kB / 1.057 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.003755, allocations: 7.938 kB / 1.057 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.346e-05/0.003773, allocations: 4 kB / 1.057 GB, free: 5.508 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.0003842/0.004161, allocations: 395.6 kB / 1.057 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.344e-05/0.00423, allocations: 35.8 kB / 1.057 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002861/0.004522, allocations: 276.1 kB / 1.058 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simplify1: time 3.022e-05/0.004561, allocations: 27.97 kB / 1.058 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003389/0.004905, allocations: 241.4 kB / 1.058 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of simplify2: time 3.644e-05/0.00495, allocations: 27.97 kB / 1.058 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of Events: time 0.0001269/0.005082, allocations: 79.8 kB / 1.058 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001468/0.005236, allocations: 112 kB / 1.058 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of Partitioning: time 8.388e-05/0.005328, allocations: 88.2 kB / 1.058 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002385/0.005572, allocations: 228.3 kB / 1.058 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001931/0.005773, allocations: 244.4 kB / 1.059 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of Inline: time 0.0003037/0.006082, allocations: 352 kB / 1.059 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.369e-05/0.006115, allocations: 32.05 kB / 1.059 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.72e-05/0.006136, allocations: 11.98 kB / 1.059 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003836/0.006524, allocations: 347 kB / 1.059 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of Tearing: time 8.776e-06/0.006542, allocations: 7.922 kB / 1.059 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of Initialization: time 4.31e-07/0.006546, allocations: 0 / 1.059 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of Tearing: time 3.547e-06/0.006554, allocations: 4 kB / 1.059 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of Categorize: time 8.395e-06/0.006566, allocations: 0 / 1.059 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of Solve: time 8.975e-05/0.00666, allocations: 55.86 kB / 1.059 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.988e-06/0.00667, allocations: 3.938 kB / 1.059 GB, free: 2.668 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 3.432e-05/0.006708, allocations: 23.92 kB / 1.059 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of SimCode: time 0.000585/0.007297, allocations: 0.9191 MB / 1.06 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.00305/0.01036, allocations: 1.064 MB / 1.061 GB, free: 0.6758 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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