Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001447/0.001447, allocations: 107.8 kB / 18.34 MB, free: 3.82 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.001437/0.001437, allocations: 188.5 kB / 21.51 MB, free: 0.6641 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.308/1.308, allocations: 225.6 MB / 250.1 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 179] 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.816/2.816, allocations: 496.1 MB / 0.7826 GB, free: 33.45 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.572e-05, allocations: 2.281 kB / 1.136 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001306/0.001322, allocations: 0.6838 MB / 1.137 GB, free: 33.39 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.002275, allocations: 1.055 MB / 1.138 GB, free: 32.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.002318, allocations: 0 / 1.138 GB, free: 32.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.002341, allocations: 3.938 kB / 1.138 GB, free: 32.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.002402, allocations: 11.12 kB / 1.138 GB, free: 32.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.00265, allocations: 47.62 kB / 1.138 GB, free: 32.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.802e-05/0.002738, allocations: 48.86 kB / 1.138 GB, free: 32.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.00282, allocations: 6.188 kB / 1.138 GB, free: 32.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.002874, allocations: 25.84 kB / 1.138 GB, free: 32.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.002917, allocations: 20.16 kB / 1.138 GB, free: 32.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.002931, allocations: 5.656 kB / 1.138 GB, free: 32.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.002982, allocations: 16.2 kB / 1.138 GB, free: 32.53 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.1e-05/0.003043, allocations: 77.83 kB / 1.138 GB, free: 32.48 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.424e-05/0.003057, allocations: 38.34 kB / 1.138 GB, free: 32.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.003074, allocations: 6.844 kB / 1.138 GB, free: 32.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.538e-06/0.003083, allocations: 5.156 kB / 1.138 GB, free: 32.45 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002903/0.003374, allocations: 303.5 kB / 1.139 GB, free: 32.11 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 5.752e-05/0.003431, allocations: 21.23 kB / 1.139 GB, free: 32.1 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0001623/0.003593, allocations: 167.1 kB / 1.139 GB, free: 31.98 MB / 0.9044 GB Notification: Performance of Simplify 1: time 4.911e-05/0.003643, allocations: 57.3 kB / 1.139 GB, free: 31.92 MB / 0.9044 GB Notification: Performance of Alias: time 0.0002906/0.003933, allocations: 186.2 kB / 1.139 GB, free: 31.74 MB / 0.9044 GB Notification: Performance of Simplify 2: time 3.226e-05/0.003965, allocations: 54.98 kB / 1.139 GB, free: 31.68 MB / 0.9044 GB Notification: Performance of Remove Stream: time 2.56e-05/0.003991, allocations: 53.73 kB / 1.139 GB, free: 31.62 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0001503/0.004141, allocations: 109.9 kB / 1.139 GB, free: 31.5 MB / 0.9044 GB Notification: Performance of Events: time 6.455e-05/0.004206, allocations: 39.33 kB / 1.139 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of Partitioning: time 6.023e-05/0.004266, allocations: 62.23 kB / 1.139 GB, free: 31.43 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0001598/0.004426, allocations: 148.1 kB / 1.14 GB, free: 31.38 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 5.798e-05/0.004484, allocations: 85.25 kB / 1.14 GB, free: 31.34 MB / 0.9044 GB Notification: Performance of Simplify: time 0.000135/0.004619, allocations: 126.3 kB / 1.14 GB, free: 31.2 MB / 0.9044 GB Notification: Performance of Inline: time 9.353e-05/0.004712, allocations: 158.2 kB / 1.14 GB, free: 31.12 MB / 0.9044 GB Notification: Performance of Partitioning: time 9.688e-06/0.004722, allocations: 13.09 kB / 1.14 GB, free: 31.1 MB / 0.9044 GB Notification: Performance of Cleanup: time 2.39e-05/0.004746, allocations: 34.98 kB / 1.14 GB, free: 31.08 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0003273/0.005073, allocations: 350.4 kB / 1.14 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of Tearing: time 8.576e-06/0.005082, allocations: 0 / 1.14 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of Initialization: time 3.01e-07/0.005082, allocations: 0 / 1.14 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 2.946e-06/0.005085, allocations: 0 / 1.14 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of Tearing: time 6.81e-07/0.005086, allocations: 0 / 1.14 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of Categorize: time 6.231e-06/0.005092, allocations: 14.2 kB / 1.14 GB, free: 30.94 MB / 0.9044 GB Notification: Performance of Solve: time 5.049e-05/0.005142, allocations: 22.97 kB / 1.14 GB, free: 30.94 MB / 0.9044 GB Notification: Performance of Jacobian: time 3.777e-06/0.005146, allocations: 4 kB / 1.14 GB, free: 30.93 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) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 6 (scalar:6, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 2.906e-05/0.005175, allocations: 18.75 kB / 1.14 GB, free: 30.92 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004198/0.005595, allocations: 0.8547 MB / 1.141 GB, free: 30.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.00278/0.008375, allocations: 0.7084 MB / 1.142 GB, free: 30.05 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Discrete_Validation_Sampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.391391849145293]