Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.001409/0.001409, 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.001537/0.001537, allocations: 210.7 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.308/1.308, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.78/2.78, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.844e-05, allocations: 4.672 kB / 1.155 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002557/0.002575, allocations: 2.196 MB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003766, allocations: 0.9091 MB / 1.158 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.003896, allocations: 11.5 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.004038, allocations: 54.81 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.004158, allocations: 63.89 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007502/0.004909, allocations: 442.2 kB / 1.159 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.005408, allocations: 0.6817 MB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.005654, allocations: 179.9 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.005823, allocations: 236.9 kB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006004, allocations: 225 kB / 1.16 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.006088, allocations: 70.12 kB / 1.16 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.006204, allocations: 83.55 kB / 1.16 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004011/0.006605, allocations: 0.8381 MB / 1.161 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001698/0.006775, allocations: 478.7 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.006849, allocations: 36.59 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.292e-05/0.006892, allocations: 23.31 kB / 1.161 GB, free: 21.2 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: 79 (79) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.001384/0.008276, allocations: 2.031 MB / 1.163 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001155/0.008391, allocations: 176.6 kB / 1.164 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001207/0.009599, allocations: 1.599 MB / 1.165 GB, free: 18.67 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004985/0.0101, allocations: 472 kB / 1.166 GB, free: 18.43 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002132/0.01223, allocations: 2.074 MB / 1.168 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003735/0.0126, allocations: 415.2 kB / 1.168 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002761/0.01288, allocations: 339.3 kB / 1.168 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004653/0.01334, allocations: 0.5075 MB / 1.169 GB, free: 16.41 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001368/0.01348, allocations: 114.8 kB / 1.169 GB, free: 16.34 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002433/0.01372, allocations: 247 kB / 1.169 GB, free: 16.22 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005861/0.01431, allocations: 0.5098 MB / 1.17 GB, free: 16.1 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006978/0.01501, allocations: 0.9472 MB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0009945/0.016, allocations: 0.9674 MB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001013/0.01701, allocations: 1.397 MB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.501e-05/0.01706, allocations: 40.27 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001703/0.01723, allocations: 238 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.002103/0.01933, allocations: 1.875 MB / 1.175 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.91e-05/0.01936, allocations: 41.38 kB / 1.175 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.01936, allocations: 0 / 1.175 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.48e-06/0.01937, allocations: 5.344 kB / 1.175 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.213e-06/0.01938, allocations: 21.19 kB / 1.175 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.155e-06/0.01938, allocations: 1.375 kB / 1.175 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003311/0.01971, allocations: 290.7 kB / 1.175 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.622e-06/0.01972, allocations: 1.156 kB / 1.175 GB, free: 13.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: .................... 6 (6) {tunEnd.y, tunSta.y, tOff.booPul.y, tOnSig2.booPul.y, tOnSig1.booPul.y, tunMan.sub.u2} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (21) {tunMan.samAddtOntOff.trigger, tunMan.tCha.u1, tunMan.tCha.u2, tunMan.tCha.y, tunMan.edgTunSta.u, tunMan.edgTunEnd.u, tunSta.u, tunEnd.u, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $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: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 67 (scalar:67, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, 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 8.559e-05/0.01981, allocations: 60.81 kB / 1.175 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001363/0.02117, allocations: 1.411 MB / 1.177 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.008193/0.02936, allocations: 4.877 MB / 1.181 GB, free: 12.24 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.418741129804403]