Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.00139/0.00139, allocations: 101.3 kB / 19.72 MB, free: 2.121 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.001687/0.001687, allocations: 207.2 kB / 23 MB, free: 4.938 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.288/1.288, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.783/2.783, allocations: 0.49 GB / 0.7958 GB, free: 35.43 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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.379e-05, allocations: 3.969 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001358/0.001372, allocations: 0.7384 MB / 1.156 GB, free: 24.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.002317, allocations: 1.094 MB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.002355, allocations: 0 / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.002381, allocations: 5.734 kB / 1.157 GB, free: 24.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.002434, allocations: 12.78 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.002662, allocations: 54.8 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.002763, allocations: 77.02 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.249e-05/0.002846, allocations: 14.86 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.002898, allocations: 32.73 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.00294, allocations: 29.55 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.002954, allocations: 4.375 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.003003, allocations: 28.52 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.791e-05/0.00308, allocations: 127 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.822e-05/0.003109, allocations: 71.19 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.003125, allocations: 6.719 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.327e-06/0.003135, allocations: 4.469 kB / 1.157 GB, free: 23.75 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.0003645/0.003499, allocations: 432.5 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.111e-05/0.00358, allocations: 66.3 kB / 1.158 GB, free: 23.29 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002698/0.00385, allocations: 303.3 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.608e-05/0.003936, allocations: 113.7 kB / 1.158 GB, free: 23.01 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003446/0.004281, allocations: 292.8 kB / 1.158 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.618e-05/0.004367, allocations: 111.4 kB / 1.159 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.77e-05/0.004405, allocations: 59.14 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001319/0.004536, allocations: 157.6 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.361e-05/0.0046, allocations: 30.86 kB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.6e-05/0.004686, allocations: 68.78 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001637/0.00485, allocations: 120.2 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001439/0.004994, allocations: 190.5 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001983/0.005192, allocations: 188.8 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001934/0.005385, allocations: 266 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.384e-05/0.005399, allocations: 15.86 kB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.157e-05/0.005431, allocations: 36.47 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002997/0.00573, allocations: 226.6 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.138e-05/0.005742, allocations: 13.19 kB / 1.16 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.9e-07/0.005742, allocations: 0 / 1.16 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.406e-06/0.005746, allocations: 0.8125 kB / 1.16 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.967e-06/0.00575, allocations: 6.062 kB / 1.16 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.09e-06/0.005755, allocations: 1.094 kB / 1.16 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002381/0.005993, allocations: 225.5 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.091e-06/0.005999, allocations: 0 / 1.16 GB, free: 21.78 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 3.292e-05/0.006032, allocations: 34.36 kB / 1.16 GB, free: 21.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004119/0.006444, allocations: 321.8 kB / 1.16 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003097/0.009541, allocations: 0.9544 MB / 1.161 GB, free: 21.46 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.279293667990714]