Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001183/0.001183, allocations: 104.3 kB / 19.71 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.001275/0.001275, allocations: 209 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.286/1.286, 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.783/2.783, allocations: 0.49 GB / 0.7958 GB, free: 35.51 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.526e-05, allocations: 2.281 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.0016/0.001616, allocations: 0.9397 MB / 1.156 GB, free: 24.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.002386, allocations: 0.9057 MB / 1.157 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.002449, allocations: 1.688 kB / 1.157 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.002488, allocations: 20.2 kB / 1.157 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.002571, allocations: 16 kB / 1.157 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.245e-05/0.002654, allocations: 55.67 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.002808, allocations: 191.8 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.002963, allocations: 75.02 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.00304, allocations: 66 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.003106, allocations: 74.8 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.003136, allocations: 18.88 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.003158, allocations: 19.03 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001422/0.0033, allocations: 303.2 kB / 1.158 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.239e-05/0.003353, allocations: 189.2 kB / 1.158 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.003373, allocations: 10.38 kB / 1.158 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-05/0.003392, allocations: 11.34 kB / 1.158 GB, free: 23.6 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: 39 (39) * Number of variables: 39 (39) Notification: Performance of [SIM] Bindings: time 0.0006884/0.00408, allocations: 0.8439 MB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.06e-05/0.004151, allocations: 111 kB / 1.159 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003052/0.004456, allocations: 462.3 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001468/0.004603, allocations: 155.8 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0009786/0.005582, allocations: 0.9261 MB / 1.16 GB, free: 21.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.577e-05/0.005657, allocations: 110.2 kB / 1.16 GB, free: 21.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.051e-05/0.005688, allocations: 56.36 kB / 1.16 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 7.134e-05/0.005759, allocations: 136.2 kB / 1.161 GB, free: 21.42 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.771e-05/0.005857, allocations: 77.31 kB / 1.161 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001444/0.006001, allocations: 151.6 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003089/0.00631, allocations: 273.5 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001801/0.00649, allocations: 282 kB / 1.161 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000225/0.006715, allocations: 230.7 kB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002583/0.006974, allocations: 408.2 kB / 1.162 GB, free: 20.66 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.676e-05/0.00699, allocations: 22.97 kB / 1.162 GB, free: 20.64 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.052e-05/0.007031, allocations: 74.47 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003982/0.007429, allocations: 345.1 kB / 1.162 GB, free: 20.52 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.265e-05/0.007442, allocations: 11.34 kB / 1.162 GB, free: 20.51 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.007442, allocations: 9 kB / 1.162 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.567e-06/0.007446, allocations: 0 / 1.162 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 6.673e-06/0.007452, allocations: 15.06 kB / 1.162 GB, free: 20.49 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.801e-06/0.007458, allocations: 3.312 kB / 1.162 GB, free: 20.49 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001944/0.007653, allocations: 180.2 kB / 1.163 GB, free: 20.42 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.992e-06/0.007659, allocations: 0 / 1.163 GB, free: 20.42 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: ........... 19 (scalar:19, 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: ........... 23 (scalar:23, 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 2.946e-05/0.007688, allocations: 26.98 kB / 1.163 GB, free: 20.4 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005001/0.008188, allocations: 0.5338 MB / 1.163 GB, free: 20.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.003115/0.0113, allocations: 1.053 MB / 1.164 GB, free: 20.01 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.26634889934212]