Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SampleTrigger,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.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_11_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.001367/0.001367, allocations: 110.3 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.00135/0.00135, allocations: 186.1 kB / 17.35 MB, free: 5.703 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.099/1.099, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.13/2.13, allocations: 469.8 MB / 0.7431 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/9.367e-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.SampleTrigger): time 0.001247/0.001266, allocations: 0.7571 MB / 1.067 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.002328, allocations: 1.08 MB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.002378, allocations: 0 / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.002407, allocations: 7.875 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.002465, allocations: 7.875 kB / 1.068 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.002702, allocations: 63.81 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.002811, allocations: 71.83 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.002896, allocations: 8.188 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.002951, allocations: 35.84 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.002999, allocations: 27.91 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.003021, allocations: 8 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.003077, allocations: 23.92 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.094e-05/0.003164, allocations: 102.9 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.497e-05/0.003195, allocations: 66.97 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.003218, allocations: 11.94 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.358e-06/0.003231, allocations: 0 / 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.0003322/0.003567, allocations: 335.7 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.175e-05/0.003625, allocations: 27.78 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002348/0.003865, allocations: 232.1 kB / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simplify1: time 5.531e-05/0.003929, allocations: 68.34 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002771/0.004211, allocations: 196.8 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simplify2: time 4.888e-05/0.004269, allocations: 64.97 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001154/0.004389, allocations: 92.03 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Events: time 0.0001137/0.00451, allocations: 67.81 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.72e-05/0.004585, allocations: 68.33 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002063/0.004797, allocations: 192 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000152/0.004957, allocations: 192.6 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002461/0.005208, allocations: 288.8 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.636e-05/0.005232, allocations: 16.11 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.152e-05/0.005278, allocations: 43.95 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003122/0.005595, allocations: 275.2 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of Tearing: time 6.953e-06/0.00561, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of Initialization: time 3.51e-07/0.005616, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of Tearing: time 2.484e-06/0.005622, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Categorize: time 6.152e-06/0.005632, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Solve: time 7.853e-05/0.005714, allocations: 55.88 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.244e-06/0.005722, allocations: 3.938 kB / 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.241e-05/0.005758, allocations: 38.66 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005104/0.006272, allocations: 0.9149 MB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of Templates: time 0.002687/0.008969, allocations: 1.06 MB / 1.072 GB, free: 6.738 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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