Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.001269/0.001269, 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.00144/0.00144, allocations: 213.2 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.103/3.103, allocations: 0.505 GB / 0.8108 GB, free: 23.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.782e-05/3.782e-05, allocations: 4.906 kB / 1.178 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002883/0.002921, allocations: 0.9709 MB / 1.179 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.005147, allocations: 1.279 MB / 1.18 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.005278, allocations: 5.875 kB / 1.18 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.00545, allocations: 16.97 kB / 1.18 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.005549, allocations: 23.72 kB / 1.18 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.006223, allocations: 181.4 kB / 1.18 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.006627, allocations: 243.3 kB / 1.181 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.006851, allocations: 64.03 kB / 1.181 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.007106, allocations: 93.06 kB / 1.181 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.007273, allocations: 101.1 kB / 1.181 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.007328, allocations: 22.38 kB / 1.181 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.00744, allocations: 42.8 kB / 1.181 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.00027/0.00771, allocations: 342.5 kB / 1.181 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001008/0.00781, allocations: 191.6 kB / 1.181 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.007861, allocations: 14.66 kB / 1.181 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.475e-05/0.007896, allocations: 10.47 kB / 1.181 GB, free: 14.16 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: 31 (31) * Number of variables: 31 (31) Notification: Performance of [SIM] Bindings: time 0.001177/0.009073, allocations: 0.9102 MB / 1.182 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001163/0.009189, allocations: 94.88 kB / 1.182 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007282/0.009918, allocations: 0.6199 MB / 1.183 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002737/0.01019, allocations: 209.9 kB / 1.183 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001233/0.01142, allocations: 0.8458 MB / 1.184 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001999/0.01162, allocations: 191.9 kB / 1.184 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001318/0.01176, allocations: 136.5 kB / 1.184 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002725/0.01203, allocations: 211 kB / 1.185 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001073/0.01214, allocations: 51.5 kB / 1.185 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001597/0.0123, allocations: 107.8 kB / 1.185 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003256/0.01262, allocations: 197.6 kB / 1.185 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003388/0.01296, allocations: 364.2 kB / 1.185 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006172/0.01358, allocations: 434.2 kB / 1.186 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005597/0.01414, allocations: 0.562 MB / 1.186 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.761e-05/0.01416, allocations: 17.56 kB / 1.186 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 9.136e-05/0.01426, allocations: 89.61 kB / 1.186 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0007099/0.01497, allocations: 497.4 kB / 1.187 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.72e-05/0.01498, allocations: 17.5 kB / 1.187 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.01498, allocations: 3.938 kB / 1.187 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.418e-06/0.01499, allocations: 4 kB / 1.187 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.167e-06/0.01499, allocations: 6.719 kB / 1.187 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.534e-06/0.015, allocations: 1.281 kB / 1.187 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002232/0.01522, allocations: 170.1 kB / 1.187 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.905e-06/0.01523, allocations: 1.219 kB / 1.187 GB, free: 10.62 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: .................... 1 (1) {enaSig.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {relCon.yOn, relCon.hys.y, $SEV_0, $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: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 30 (scalar:30, 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 4.12e-05/0.01527, allocations: 31.09 kB / 1.187 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008642/0.01614, allocations: 0.5937 MB / 1.188 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.005347/0.02148, allocations: 1.955 MB / 1.19 GB, free: 10.07 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.23872164171189]