Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 104.3 kB / 19.72 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 212.8 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.269/1.269, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.753/2.753, allocations: 0.49 GB / 0.7958 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.34e-05, allocations: 2.281 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001353/0.001366, allocations: 0.7315 MB / 1.156 GB, free: 24.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.002335, allocations: 1.092 MB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.002378, allocations: 3.938 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.002401, allocations: 6.234 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.187e-05/0.002463, allocations: 10.94 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.00271, allocations: 52.12 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.0028, allocations: 79.14 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.002882, allocations: 16.77 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.002934, allocations: 34.55 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.002976, allocations: 29.28 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.00299, allocations: 6.031 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.003035, allocations: 18.17 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.705e-05/0.003113, allocations: 126.3 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.881e-05/0.003141, allocations: 74.27 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.003158, allocations: 5.375 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.056e-05/0.003169, allocations: 6.219 kB / 1.157 GB, free: 23.69 MB / 0.9044 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 [SIM] Bindings: time 0.0003724/0.003541, allocations: 437.5 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.501e-05/0.003626, allocations: 66.39 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002759/0.003902, allocations: 303.8 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.441e-05/0.003987, allocations: 108.5 kB / 1.158 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003627/0.004349, allocations: 300 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.654e-05/0.004426, allocations: 114.9 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.485e-05/0.004461, allocations: 57.44 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001343/0.004595, allocations: 148.5 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.109e-05/0.004656, allocations: 37.84 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.969e-05/0.004736, allocations: 70.22 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001569/0.004893, allocations: 120 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001328/0.005026, allocations: 191 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001834/0.005209, allocations: 190.5 kB / 1.159 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001733/0.005382, allocations: 260.4 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.333e-05/0.005395, allocations: 16.25 kB / 1.16 GB, free: 21.87 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.098e-05/0.005426, allocations: 41.92 kB / 1.16 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002955/0.005722, allocations: 232.2 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.009e-05/0.005732, allocations: 6.688 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4e-07/0.005732, allocations: 0 / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.717e-06/0.005736, allocations: 1.219 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.545e-06/0.005739, allocations: 5.219 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.11e-06/0.005744, allocations: 6.688 kB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002239/0.005968, allocations: 216.6 kB / 1.16 GB, free: 21.71 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.571e-06/0.005973, allocations: 5.031 kB / 1.16 GB, free: 21.71 MB / 0.9044 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 3e-05/0.006003, allocations: 37.08 kB / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003984/0.006402, allocations: 311.3 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of Templates: time 0.002956/0.009358, allocations: 0.9526 MB / 1.161 GB, free: 21.36 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.218360173050314]