Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001426/0.001426, allocations: 100.4 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.001538/0.001538, allocations: 208.3 kB / 23.01 MB, free: 4.93 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.302/1.302, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.805/2.805, allocations: 0.49 GB / 0.7958 GB, free: 35.37 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.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|resSig.y|sam.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.54e-05, allocations: 8 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001563/0.001579, allocations: 0.9892 MB / 1.156 GB, free: 24.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.002823, allocations: 1.334 MB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.00291, allocations: 2.312 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.003018, allocations: 19.89 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.003078, allocations: 30.98 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.00361, allocations: 275.2 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.003864, allocations: 324.5 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.004004, allocations: 63.91 kB / 1.158 GB, free: 23.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.004097, allocations: 122.9 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.004201, allocations: 114.4 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.004247, allocations: 30.34 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.004324, allocations: 39.09 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002022/0.004526, allocations: 399.2 kB / 1.159 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.273e-05/0.004599, allocations: 207.6 kB / 1.159 GB, free: 22.76 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.004643, allocations: 17.59 kB / 1.159 GB, free: 22.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.958e-05/0.004663, allocations: 7.594 kB / 1.159 GB, free: 22.76 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.00078/0.005443, allocations: 1.025 MB / 1.16 GB, free: 21.97 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.183e-05/0.005505, allocations: 78.08 kB / 1.16 GB, free: 21.91 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006281/0.006133, allocations: 0.7981 MB / 1.161 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002737/0.006406, allocations: 288.6 kB / 1.161 GB, free: 21.27 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0009681/0.007375, allocations: 0.942 MB / 1.162 GB, free: 20.64 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000224/0.007599, allocations: 269 kB / 1.162 GB, free: 20.48 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001638/0.007762, allocations: 214.2 kB / 1.162 GB, free: 20.36 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003064/0.008069, allocations: 335.1 kB / 1.163 GB, free: 20.09 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.993e-05/0.008159, allocations: 58.59 kB / 1.163 GB, free: 20.06 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001282/0.008287, allocations: 119.8 kB / 1.163 GB, free: 20 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002913/0.008578, allocations: 247.1 kB / 1.163 GB, free: 19.93 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003983/0.008976, allocations: 0.5148 MB / 1.164 GB, free: 19.67 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006091/0.009585, allocations: 0.5803 MB / 1.164 GB, free: 19.3 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005562/0.01014, allocations: 0.7414 MB / 1.165 GB, free: 18.88 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.353e-05/0.01017, allocations: 18.97 kB / 1.165 GB, free: 18.87 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 9.119e-05/0.01026, allocations: 119.5 kB / 1.165 GB, free: 18.8 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000743/0.011, allocations: 0.6338 MB / 1.166 GB, free: 18.63 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.317e-05/0.01101, allocations: 16.41 kB / 1.166 GB, free: 18.62 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.01101, allocations: 0 / 1.166 GB, free: 18.62 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.546e-06/0.01102, allocations: 1.156 kB / 1.166 GB, free: 18.62 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.747e-06/0.01102, allocations: 10.75 kB / 1.166 GB, free: 18.61 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.7e-06/0.01103, allocations: 10.12 kB / 1.166 GB, free: 18.61 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001675/0.01119, allocations: 140.9 kB / 1.166 GB, free: 18.54 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.63e-06/0.0112, allocations: 0 / 1.166 GB, free: 18.54 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 6.847e-05/0.01127, allocations: 38.67 kB / 1.166 GB, free: 18.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000737/0.012, allocations: 0.737 MB / 1.167 GB, free: 18.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.005293/0.0173, allocations: 2.787 MB / 1.169 GB, free: 17.88 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_SamplerWithResetThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.346911494154483]