Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001147/0.001147, allocations: 107.6 kB / 16.42 MB, free: 6.48 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.001135/0.001135, 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.166/1.166, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.917/1.917, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.543e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001541/0.001566, allocations: 0.7541 MB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.002856, allocations: 1.074 MB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.002908, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.002944, allocations: 7.875 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.003023, allocations: 19.86 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.003299, allocations: 43.89 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003434, allocations: 83.7 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003552, allocations: 28.11 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.003622, allocations: 27.91 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.003682, allocations: 35.84 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.003701, allocations: 4 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.309e-05/0.003758, allocations: 19.98 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.076e-05/0.003844, allocations: 106.8 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.258e-05/0.003882, allocations: 55.12 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.003906, allocations: 8 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.165e-05/0.003921, allocations: 7.938 kB / 0.9537 GB, free: 5.383 MB / 0.7325 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.00043/0.004355, allocations: 399.5 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.436e-05/0.004415, allocations: 23.94 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003011/0.004722, allocations: 272.1 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simplify1: time 2.849e-05/0.004758, allocations: 27.97 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003387/0.005102, allocations: 257.2 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simplify2: time 2.935e-05/0.005139, allocations: 27.97 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001695/0.005314, allocations: 92.16 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of Events: time 0.0001294/0.00545, allocations: 83.78 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.676e-05/0.005544, allocations: 76.36 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002472/0.005797, allocations: 220 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002044/0.00601, allocations: 252.5 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002998/0.006315, allocations: 352 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.104e-05/0.006343, allocations: 20.12 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.884e-05/0.006367, allocations: 15.92 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003813/0.006752, allocations: 343 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of Tearing: time 1.215e-05/0.006773, allocations: 0 / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of Initialization: time 4.31e-07/0.006778, allocations: 0 / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of Tearing: time 4.538e-06/0.006786, allocations: 7.938 kB / 0.956 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of Categorize: time 9.057e-06/0.006799, allocations: 3.984 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Solve: time 8.971e-05/0.006893, allocations: 67.86 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of Jacobian: time 6.242e-06/0.006905, allocations: 3.984 kB / 0.9561 GB, free: 2.562 MB / 0.7325 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.82e-05/0.006947, allocations: 27.11 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006308/0.007582, allocations: 0.9201 MB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.002955/0.01055, allocations: 1.06 MB / 0.9581 GB, free: 0.5859 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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