Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SampleTriggerPositiveStartTime,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.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_11_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.0009119/0.0009119, allocations: 109.8 kB / 16.42 MB, free: 6.445 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.0008484/0.0008485, allocations: 186.1 kB / 17.36 MB, free: 5.695 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.092/1.092, allocations: 222.9 MB / 241 MB, free: 15.13 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.189/2.189, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/9.328e-06, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001238/0.001258, allocations: 0.7572 MB / 1.067 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002317, allocations: 1.081 MB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.002364, allocations: 3.938 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.002391, allocations: 3.938 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.002456, allocations: 11.88 kB / 1.068 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.002679, allocations: 51.88 kB / 1.068 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.002799, allocations: 75.77 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.002887, allocations: 28.09 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.002948, allocations: 27.92 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.002999, allocations: 31.91 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003017, allocations: 7.938 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.012e-05/0.003071, allocations: 15.98 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.316e-05/0.00315, allocations: 98.91 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.266e-05/0.003187, allocations: 63.03 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.00321, allocations: 11.94 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.048e-05/0.003224, allocations: 4 kB / 1.068 GB, free: 11.32 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.0003258/0.003554, allocations: 335.7 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.76e-05/0.003617, allocations: 39.77 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002343/0.003857, allocations: 216.1 kB / 1.069 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simplify1: time 5.574e-05/0.003922, allocations: 80.31 kB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002749/0.004202, allocations: 189.3 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simplify2: time 5.646e-05/0.004266, allocations: 64.39 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002065/0.004478, allocations: 94.69 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Events: time 0.000106/0.004591, allocations: 67.88 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.165e-05/0.004669, allocations: 64.34 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002/0.004876, allocations: 192.1 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001502/0.005034, allocations: 188.3 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of Inline: time 0.000244/0.005283, allocations: 289.2 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.698e-05/0.005307, allocations: 16.11 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.331e-05/0.005346, allocations: 51.88 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003054/0.005656, allocations: 276.7 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of Tearing: time 6.713e-06/0.005672, allocations: 4.562 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Initialization: time 3.7e-07/0.005676, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Tearing: time 1.303e-06/0.005682, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Categorize: time 5.691e-06/0.005691, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Solve: time 7.929e-05/0.005773, allocations: 59.81 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.345e-06/0.005781, allocations: 0 / 1.07 GB, free: 8.766 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.079e-05/0.005817, allocations: 39.17 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005252/0.006346, allocations: 0.9289 MB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of Templates: time 0.00255/0.008907, allocations: 1.059 MB / 1.072 GB, free: 6.754 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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