Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.2 kB / 16.42 MB, free: 6.523 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.002106/0.002106, allocations: 182 kB / 17.36 MB, free: 5.746 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.16 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.245/2.245, allocations: 437 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.864e-05, allocations: 6.219 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001412/0.001442, allocations: 0.7695 MB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.002626, allocations: 1.067 MB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.002676, allocations: 0 / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.002714, allocations: 15.86 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.002783, allocations: 15.86 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003043, allocations: 43.89 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003161, allocations: 87.75 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.003257, allocations: 16.19 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.003318, allocations: 31.86 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.003376, allocations: 31.89 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003398, allocations: 4 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.003462, allocations: 23.92 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.22e-05/0.00355, allocations: 102.9 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.46e-05/0.00358, allocations: 55.12 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.003605, allocations: 15.94 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.076e-05/0.003621, allocations: 4 kB / 1.021 GB, free: 7.152 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.0003865/0.004011, allocations: 395.6 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of FunctionAlias: time 5.808e-05/0.004075, allocations: 31.86 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0002755/0.004357, allocations: 268.1 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of simplify1: time 2.913e-05/0.004394, allocations: 27.95 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of Alias: time 0.0003309/0.004732, allocations: 257.3 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of simplify2: time 2.779e-05/0.004769, allocations: 27.97 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001302/0.004904, allocations: 104 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of Events: time 0.0001217/0.005033, allocations: 75.88 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of Partitioning: time 8.016e-05/0.005121, allocations: 72.36 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002473/0.005374, allocations: 228.1 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001953/0.005578, allocations: 248.6 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of Inline: time 0.0002986/0.005882, allocations: 340.6 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of Partitioning: time 2.827e-05/0.005918, allocations: 35.97 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of Cleanup: time 2.051e-05/0.005945, allocations: 19.98 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003813/0.00633, allocations: 332.8 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of Tearing: time 8.726e-06/0.006348, allocations: 3.938 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of Initialization: time 2.81e-07/0.006352, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of Tearing: time 1.643e-06/0.006359, allocations: 4 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of Categorize: time 8.576e-06/0.006371, allocations: 0 / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of Solve: time 8.828e-05/0.006463, allocations: 59.86 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of Jacobian: time 4.078e-06/0.006474, allocations: 3.938 kB / 1.024 GB, free: 4.34 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 3.354e-05/0.006513, allocations: 18.95 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of SimCode: time 0.000668/0.007189, allocations: 0.9332 MB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of Templates: time 0.003149/0.01035, allocations: 1.072 MB / 1.026 GB, free: 2.312 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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