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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 111.6 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 188.5 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 250.1 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.652/2.652, allocations: 496.2 MB / 0.7826 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.104e-05, allocations: 2.281 kB / 1.137 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001758/0.001779, allocations: 0.758 MB / 1.137 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003147, allocations: 1.084 MB / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.00319, allocations: 0 / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.003221, allocations: 3.938 kB / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.003296, allocations: 19.84 kB / 1.138 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.003583, allocations: 50.84 kB / 1.138 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.00371, allocations: 79.75 kB / 1.138 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003817, allocations: 16.17 kB / 1.138 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.003888, allocations: 31.86 kB / 1.139 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.003948, allocations: 43.83 kB / 1.139 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.003963, allocations: 4 kB / 1.139 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.004023, allocations: 15.98 kB / 1.139 GB, free: 10.34 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001116/0.004134, allocations: 106.9 kB / 1.139 GB, free: 10.23 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 9.556e-05/0.00423, allocations: 74.91 kB / 1.139 GB, free: 10.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.004249, allocations: 4 kB / 1.139 GB, free: 10.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.666e-05/0.004266, allocations: 3.938 kB / 1.139 GB, free: 10.15 MB / 0.92 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.0004955/0.004762, allocations: 372.3 kB / 1.139 GB, free: 9.672 MB / 0.92 GB Notification: Performance of FunctionAlias: time 7.909e-05/0.004841, allocations: 38.78 kB / 1.139 GB, free: 9.637 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0003228/0.005163, allocations: 228.4 kB / 1.139 GB, free: 9.387 MB / 0.92 GB Notification: Performance of Simplify 1: time 9.483e-05/0.005258, allocations: 80.31 kB / 1.139 GB, free: 9.281 MB / 0.92 GB Notification: Performance of Alias: time 0.0004474/0.005706, allocations: 241.3 kB / 1.14 GB, free: 8.973 MB / 0.92 GB Notification: Performance of Simplify 2: time 6.857e-05/0.005774, allocations: 64.33 kB / 1.14 GB, free: 8.883 MB / 0.92 GB Notification: Performance of Remove Stream: time 6.521e-05/0.005839, allocations: 60.58 kB / 1.14 GB, free: 8.797 MB / 0.92 GB Notification: Performance of Detect States: time 0.0003515/0.006191, allocations: 136.8 kB / 1.14 GB, free: 8.625 MB / 0.92 GB Notification: Performance of Events: time 9.153e-05/0.006282, allocations: 39.84 kB / 1.14 GB, free: 8.586 MB / 0.92 GB Notification: Performance of Partitioning: time 8.441e-05/0.006367, allocations: 60.06 kB / 1.14 GB, free: 8.52 MB / 0.92 GB Notification: Performance of Causalize: time 0.0002232/0.00659, allocations: 156 kB / 1.14 GB, free: 8.359 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001231/0.006713, allocations: 123.9 kB / 1.14 GB, free: 8.238 MB / 0.92 GB Notification: Performance of Simplify: time 0.0002014/0.006915, allocations: 144.6 kB / 1.14 GB, free: 8.047 MB / 0.92 GB Notification: Performance of Inline: time 0.0001843/0.007099, allocations: 187.8 kB / 1.141 GB, free: 7.859 MB / 0.92 GB Notification: Performance of Partitioning: time 1.714e-05/0.007116, allocations: 16.12 kB / 1.141 GB, free: 7.836 MB / 0.92 GB Notification: Performance of Cleanup: time 4.163e-05/0.007158, allocations: 43.94 kB / 1.141 GB, free: 7.793 MB / 0.92 GB Notification: Performance of Causalize: time 0.0005104/0.007668, allocations: 340.2 kB / 1.141 GB, free: 7.453 MB / 0.92 GB Notification: Performance of Tearing: time 9.307e-06/0.007677, allocations: 0 / 1.141 GB, free: 7.453 MB / 0.92 GB Notification: Performance of Initialization: time 2.91e-07/0.007678, allocations: 0 / 1.141 GB, free: 7.453 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.977e-06/0.007682, allocations: 0 / 1.141 GB, free: 7.453 MB / 0.92 GB Notification: Performance of Tearing: time 6.91e-07/0.007682, allocations: 0 / 1.141 GB, free: 7.453 MB / 0.92 GB Notification: Performance of Categorize: time 8.486e-06/0.007691, allocations: 4 kB / 1.141 GB, free: 7.449 MB / 0.92 GB Notification: Performance of Solve: time 9e-05/0.007781, allocations: 55.88 kB / 1.141 GB, free: 7.395 MB / 0.92 GB Notification: Performance of Jacobian: time 4.328e-06/0.007785, allocations: 4 kB / 1.141 GB, free: 7.391 MB / 0.92 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: ......... 1 * 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) {} * Number of discrete variables: ................. 6 (6) {samTri.y, samTri1.y, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, 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 (resizable: 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: ........... 15 (scalar:15, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.923e-05/0.007824, allocations: 27.83 kB / 1.141 GB, free: 7.371 MB / 0.92 GB Notification: Performance of SimCode: time 0.0008298/0.008654, allocations: 0.9165 MB / 1.142 GB, free: 6.426 MB / 0.92 GB Notification: Performance of Templates: time 0.003356/0.01201, allocations: 0.894 MB / 1.143 GB, free: 5.531 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 7.2864446537569165]