Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001456/0.001456, 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.001292/0.001292, allocations: 209.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.284/1.284, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.778/2.778, allocations: 0.49 GB / 0.7958 GB, free: 35.45 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.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.735e-05, allocations: 12.12 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001824/0.001842, allocations: 1.13 MB / 1.156 GB, free: 24.54 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.002746, allocations: 1.004 MB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.002827, allocations: 1.156 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.002882, allocations: 26.2 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.003009, allocations: 42.73 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.003122, allocations: 96.23 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.003397, allocations: 335.2 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.00362, allocations: 141.1 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003726, allocations: 116.2 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.003815, allocations: 123 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.003855, allocations: 35.62 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.589e-05/0.003891, allocations: 34.72 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002191/0.00411, allocations: 492.1 kB / 1.158 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001041/0.004214, allocations: 301.6 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.004247, allocations: 16.97 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.616e-05/0.004283, allocations: 17.69 kB / 1.159 GB, free: 22.69 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: 64 (64) * Number of variables: 64 (64) Notification: Performance of [SIM] Bindings: time 0.0008851/0.005168, allocations: 1.268 MB / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001022/0.00527, allocations: 159.3 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004813/0.005751, allocations: 0.7311 MB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001949/0.005946, allocations: 185.4 kB / 1.161 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002012/0.007959, allocations: 1.537 MB / 1.163 GB, free: 20.01 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.849e-05/0.008057, allocations: 121.3 kB / 1.163 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.03e-05/0.008097, allocations: 70.77 kB / 1.163 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 9.075e-05/0.008188, allocations: 155 kB / 1.163 GB, free: 19.65 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.987e-05/0.008288, allocations: 86.66 kB / 1.163 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.00018/0.008468, allocations: 190.5 kB / 1.163 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005038/0.008972, allocations: 378.4 kB / 1.164 GB, free: 19.41 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002628/0.009235, allocations: 386.6 kB / 1.164 GB, free: 19.2 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002539/0.009488, allocations: 239.7 kB / 1.164 GB, free: 18.99 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003755/0.009864, allocations: 0.5388 MB / 1.165 GB, free: 18.68 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.169e-05/0.009886, allocations: 27.83 kB / 1.165 GB, free: 18.65 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.712e-05/0.009953, allocations: 93.34 kB / 1.165 GB, free: 18.59 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0005298/0.01048, allocations: 439.6 kB / 1.165 GB, free: 18.48 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.376e-05/0.0105, allocations: 16.94 kB / 1.165 GB, free: 18.47 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.0105, allocations: 0 / 1.165 GB, free: 18.47 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.6e-06/0.0105, allocations: 0.9688 kB / 1.165 GB, free: 18.47 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.67e-06/0.01051, allocations: 11.34 kB / 1.165 GB, free: 18.46 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.903e-06/0.01051, allocations: 6.219 kB / 1.165 GB, free: 18.46 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002845/0.0108, allocations: 228.6 kB / 1.165 GB, free: 18.38 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.245e-06/0.01081, allocations: 1.406 kB / 1.165 GB, free: 18.38 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$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: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.373e-05/0.01085, allocations: 33.66 kB / 1.165 GB, free: 18.35 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009464/0.0118, allocations: 0.8517 MB / 1.166 GB, free: 17.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.004021/0.01582, allocations: 1.404 MB / 1.168 GB, free: 17.79 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.233219341374934]