Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SampleTrigger,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.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_latest_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.001154/0.001154, allocations: 108.3 kB / 16.42 MB, free: 6.492 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.001131/0.001131, allocations: 188.2 kB / 17.35 MB, free: 5.742 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.28/2.28, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.724e-05, allocations: 2.281 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0014/0.001428, allocations: 0.7534 MB / 1.055 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002582, allocations: 1.077 MB / 1.056 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.002632, allocations: 0 / 1.056 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.002665, allocations: 3.938 kB / 1.056 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.002726, allocations: 15.86 kB / 1.056 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.00299, allocations: 55.81 kB / 1.057 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.0031, allocations: 79.83 kB / 1.057 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.003195, allocations: 16.19 kB / 1.057 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.003259, allocations: 31.84 kB / 1.057 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.003324, allocations: 35.84 kB / 1.057 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003344, allocations: 4 kB / 1.057 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.003409, allocations: 19.98 kB / 1.057 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of combineBinaries: time 9.818e-05/0.003514, allocations: 110.8 kB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.725e-05/0.003547, allocations: 55.12 kB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.003571, allocations: 11.94 kB / 1.057 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.199e-05/0.003588, allocations: 4 kB / 1.057 GB, free: 5.434 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.0003928/0.003984, allocations: 391.6 kB / 1.057 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.11e-05/0.004051, allocations: 35.8 kB / 1.057 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002819/0.004338, allocations: 268.1 kB / 1.058 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simplify1: time 3.016e-05/0.004377, allocations: 27.97 kB / 1.058 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003291/0.004711, allocations: 253.4 kB / 1.058 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simplify2: time 2.713e-05/0.004746, allocations: 27.97 kB / 1.058 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of Events: time 0.0001202/0.004871, allocations: 79.8 kB / 1.058 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001407/0.00502, allocations: 116 kB / 1.058 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.154e-05/0.005123, allocations: 84.22 kB / 1.058 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002426/0.005371, allocations: 228.3 kB / 1.058 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001984/0.005578, allocations: 244.4 kB / 1.059 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002966/0.00588, allocations: 344.1 kB / 1.059 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of Partitioning: time 3.225e-05/0.005921, allocations: 36.03 kB / 1.059 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.659e-05/0.005943, allocations: 15.98 kB / 1.059 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003777/0.006324, allocations: 343 kB / 1.059 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of Tearing: time 8.236e-06/0.006341, allocations: 3.938 kB / 1.059 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of Initialization: time 4.31e-07/0.006345, allocations: 0 / 1.059 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of Tearing: time 1.342e-06/0.006351, allocations: 0 / 1.059 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of Categorize: time 7.945e-06/0.006362, allocations: 4 kB / 1.059 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of Solve: time 9.603e-05/0.006463, allocations: 67.83 kB / 1.059 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.807e-06/0.006473, allocations: 4.5 kB / 1.059 GB, free: 2.59 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.714e-05/0.006514, allocations: 26.89 kB / 1.059 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005983/0.007117, allocations: 0.9147 MB / 1.06 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of Templates: time 0.002811/0.009937, allocations: 1.048 MB / 1.061 GB, free: 0.582 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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