Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001408/0.001408, 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.001526/0.001526, allocations: 213.6 kB / 23.01 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.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.846/2.846, allocations: 0.49 GB / 0.7958 GB, free: 35.55 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.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.744e-05, allocations: 4.109 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00179/0.001808, allocations: 0.9698 MB / 1.156 GB, free: 24.65 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.003184, allocations: 1.278 MB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.003256, allocations: 2.844 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.573e-05/0.003352, allocations: 20.53 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.003424, allocations: 22.48 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.003854, allocations: 180.3 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.004098, allocations: 251.4 kB / 1.158 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.004241, allocations: 63.7 kB / 1.158 GB, free: 23.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.004395, allocations: 100.4 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.004498, allocations: 85.7 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.004535, allocations: 23.34 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.004605, allocations: 40.23 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001879/0.004793, allocations: 343.7 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.519e-05/0.004858, allocations: 198.4 kB / 1.158 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.004896, allocations: 12.75 kB / 1.158 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.807e-05/0.004914, allocations: 8.281 kB / 1.158 GB, free: 22.95 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.0007335/0.005647, allocations: 0.9087 MB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.179e-05/0.005729, allocations: 92.7 kB / 1.159 GB, free: 22.16 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000548/0.006277, allocations: 0.6131 MB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002106/0.006488, allocations: 217.8 kB / 1.16 GB, free: 21.63 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0009488/0.007436, allocations: 0.8507 MB / 1.161 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001515/0.007588, allocations: 182.8 kB / 1.161 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001132/0.007701, allocations: 137 kB / 1.161 GB, free: 20.83 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000218/0.007919, allocations: 223.2 kB / 1.162 GB, free: 20.63 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.276e-05/0.008002, allocations: 43.69 kB / 1.162 GB, free: 20.61 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001307/0.008133, allocations: 111.7 kB / 1.162 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002605/0.008393, allocations: 195.1 kB / 1.162 GB, free: 20.49 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002645/0.008658, allocations: 364.3 kB / 1.162 GB, free: 20.31 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005002/0.009158, allocations: 436.7 kB / 1.163 GB, free: 20.02 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000463/0.009621, allocations: 0.5691 MB / 1.163 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.36e-05/0.009644, allocations: 20.28 kB / 1.163 GB, free: 19.68 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.616e-05/0.009711, allocations: 88.25 kB / 1.163 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0006453/0.01036, allocations: 488.2 kB / 1.164 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.427e-05/0.01037, allocations: 16.16 kB / 1.164 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.51e-07/0.01037, allocations: 0 / 1.164 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.687e-06/0.01037, allocations: 1 kB / 1.164 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.346e-06/0.01038, allocations: 10.06 kB / 1.164 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.581e-06/0.01038, allocations: 5.062 kB / 1.164 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002046/0.01059, allocations: 166.6 kB / 1.164 GB, free: 19.43 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.943e-06/0.01059, allocations: 4 kB / 1.164 GB, free: 19.43 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 3.26e-05/0.01063, allocations: 24.64 kB / 1.164 GB, free: 19.41 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007028/0.01133, allocations: 0.6006 MB / 1.165 GB, free: 19.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.004728/0.01606, allocations: 1.951 MB / 1.167 GB, free: 18.88 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.373931727837771]