Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.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.001564/0.001564, 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.001361/0.001361, allocations: 212.2 kB / 23 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.157/3.157, allocations: 0.505 GB / 0.8108 GB, free: 23.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|resSig.y|sam.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|resSig.y|sam.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.388e-05, allocations: 3.703 kB / 1.178 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001971/0.001995, allocations: 0.9977 MB / 1.179 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.003458, allocations: 1.332 MB / 1.18 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.003555, allocations: 10.88 kB / 1.18 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.003664, allocations: 19.22 kB / 1.18 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.003733, allocations: 28.95 kB / 1.18 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.004349, allocations: 272.5 kB / 1.181 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.004657, allocations: 315.2 kB / 1.181 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.004809, allocations: 69.02 kB / 1.181 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004921, allocations: 123.2 kB / 1.181 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.005054, allocations: 106.5 kB / 1.181 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.005102, allocations: 35.42 kB / 1.181 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.005184, allocations: 48.09 kB / 1.181 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002317/0.005416, allocations: 399.2 kB / 1.182 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.866e-05/0.005494, allocations: 203.2 kB / 1.182 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.005544, allocations: 18.09 kB / 1.182 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.021e-05/0.005574, allocations: 11.66 kB / 1.182 GB, free: 13.98 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of [SIM] Bindings: time 0.0009185/0.006492, allocations: 1.018 MB / 1.183 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.731e-05/0.00657, allocations: 81.34 kB / 1.183 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007602/0.00733, allocations: 0.8003 MB / 1.184 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002945/0.007624, allocations: 288.5 kB / 1.184 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001122/0.008746, allocations: 0.9383 MB / 1.185 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002477/0.008994, allocations: 266.4 kB / 1.185 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001874/0.009181, allocations: 221.4 kB / 1.185 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003382/0.00952, allocations: 334.7 kB / 1.186 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.974e-05/0.009619, allocations: 56.02 kB / 1.186 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001437/0.009763, allocations: 125.4 kB / 1.186 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003133/0.01008, allocations: 245 kB / 1.186 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004202/0.0105, allocations: 0.5156 MB / 1.187 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006377/0.01113, allocations: 0.5705 MB / 1.187 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006126/0.01175, allocations: 0.7354 MB / 1.188 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.461e-05/0.01178, allocations: 24.86 kB / 1.188 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001071/0.01189, allocations: 119 kB / 1.188 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0008449/0.01273, allocations: 0.6414 MB / 1.189 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.512e-05/0.01275, allocations: 16.44 kB / 1.189 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.41e-07/0.01275, allocations: 1.094 kB / 1.189 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 7.384e-06/0.01276, allocations: 3.906 kB / 1.189 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.969e-06/0.01276, allocations: 15.47 kB / 1.189 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.933e-06/0.01277, allocations: 5.031 kB / 1.189 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001961/0.01296, allocations: 145.5 kB / 1.189 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.893e-06/0.01297, allocations: 3.938 kB / 1.189 GB, free: 9.738 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: .................... 3 (3) {u.booPul.y, resSig.y, sam.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (13) {sam.samTri.y, sam.swi.u2, sam.edgRes.u, sam.edgThr.u, sam.edgThr.y, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 9.723e-05/0.01307, allocations: 45.78 kB / 1.189 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009831/0.01405, allocations: 0.7293 MB / 1.19 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of Templates: time 0.006291/0.02034, allocations: 2.776 MB / 1.192 GB, free: 9.078 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.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: 8.226364929694682]