Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009995/0.0009995, allocations: 106.5 kB / 16.42 MB, free: 6.43 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.001037/0.001037, allocations: 185.5 kB / 17.35 MB, free: 5.684 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.703e-05, allocations: 2.281 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001898/0.00194, allocations: 0.7625 MB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.0034, allocations: 1.083 MB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.003469, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.003516, allocations: 11.86 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.003609, allocations: 11.88 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.003964, allocations: 47.89 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.004109, allocations: 83.75 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004233, allocations: 16.12 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.00433, allocations: 31.91 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.004396, allocations: 27.91 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.004421, allocations: 11.94 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.004495, allocations: 19.98 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.473e-05/0.004599, allocations: 106.9 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.161e-05/0.004636, allocations: 59.12 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.00468, allocations: 11.88 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.043e-05/0.004705, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 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.00047/0.005179, allocations: 395.6 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.481e-05/0.00526, allocations: 27.86 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0003488/0.005615, allocations: 272.1 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of simplify1: time 3.779e-05/0.005663, allocations: 31.95 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of Alias: time 0.0004465/0.006114, allocations: 249.4 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of simplify2: time 3.764e-05/0.006163, allocations: 31.91 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001696/0.006338, allocations: 100 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of Events: time 0.0001616/0.006508, allocations: 79.84 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of Partitioning: time 9.286e-05/0.006609, allocations: 72.36 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of Causalize: time 0.000284/0.006899, allocations: 232.3 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0002337/0.007142, allocations: 236.4 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of Inline: time 0.0003847/0.007535, allocations: 341.2 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of Partitioning: time 3.132e-05/0.007575, allocations: 39.97 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of Cleanup: time 2.433e-05/0.007605, allocations: 15.97 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of Causalize: time 0.000473/0.008083, allocations: 351.2 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of Tearing: time 1.24e-05/0.008104, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of Initialization: time 5.61e-07/0.00811, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of Tearing: time 2.365e-06/0.008116, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of Categorize: time 1.247e-05/0.008134, allocations: 8 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of Solve: time 0.0001031/0.008241, allocations: 55.84 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of Jacobian: time 5.16e-06/0.008253, allocations: 3.938 kB / 1.024 GB, free: 4.363 MB / 0.795 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.882e-05/0.008306, allocations: 25.23 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of SimCode: time 0.0008177/0.009128, allocations: 0.928 MB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of Templates: time 0.003608/0.01275, allocations: 1.064 MB / 1.026 GB, free: 2.375 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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