Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001511/0.001511, 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.001654/0.001654, allocations: 211.1 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.413/1.413, 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.131/3.131, allocations: 0.505 GB / 0.8108 GB, free: 23.55 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.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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.598e-05, allocations: 2.281 kB / 1.178 GB, free: 16.51 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002278/0.002304, allocations: 1.141 MB / 1.179 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003474, allocations: 0.9894 MB / 1.18 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.003573, allocations: 3.75 kB / 1.18 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.324e-05/0.003636, allocations: 25.41 kB / 1.18 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.003772, allocations: 37.73 kB / 1.18 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.003924, allocations: 95.78 kB / 1.18 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.004249, allocations: 342.1 kB / 1.181 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.004525, allocations: 139.4 kB / 1.181 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.00467, allocations: 120.9 kB / 1.181 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.004786, allocations: 121.6 kB / 1.181 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.004835, allocations: 35.59 kB / 1.181 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.004877, allocations: 35.31 kB / 1.181 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002755/0.005152, allocations: 487.1 kB / 1.181 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001132/0.005265, allocations: 302.3 kB / 1.182 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.005301, allocations: 16.25 kB / 1.182 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.634e-05/0.005348, allocations: 21.78 kB / 1.182 GB, free: 13.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: 64 (64) * Number of variables: 64 (64) Notification: Performance of [SIM] Bindings: time 0.0009926/0.00634, allocations: 1.268 MB / 1.183 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001278/0.006468, allocations: 159.1 kB / 1.183 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006181/0.007086, allocations: 0.7348 MB / 1.184 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002525/0.007339, allocations: 174.9 kB / 1.184 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002309/0.009648, allocations: 1.539 MB / 1.186 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001179/0.009766, allocations: 121.6 kB / 1.186 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.464e-05/0.00982, allocations: 79.06 kB / 1.186 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001285/0.009949, allocations: 156.4 kB / 1.186 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001289/0.01008, allocations: 73.42 kB / 1.186 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000237/0.01031, allocations: 197.5 kB / 1.186 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005394/0.01085, allocations: 382.3 kB / 1.187 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000316/0.01117, allocations: 389.6 kB / 1.187 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003007/0.01147, allocations: 234.4 kB / 1.187 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0004543/0.01193, allocations: 0.544 MB / 1.188 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.257e-05/0.01195, allocations: 26.73 kB / 1.188 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.414e-05/0.01202, allocations: 87.88 kB / 1.188 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0007206/0.01274, allocations: 440.7 kB / 1.188 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.944e-05/0.01276, allocations: 16.62 kB / 1.188 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.81e-07/0.01276, allocations: 0 / 1.188 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.632e-06/0.01277, allocations: 5.188 kB / 1.188 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.114e-06/0.01278, allocations: 15.38 kB / 1.188 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.995e-06/0.01278, allocations: 1.125 kB / 1.188 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002838/0.01307, allocations: 217.8 kB / 1.188 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.007e-06/0.01308, allocations: 4 kB / 1.188 GB, free: 9.629 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.807e-05/0.01313, allocations: 37.48 kB / 1.188 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001089/0.01421, allocations: 0.8588 MB / 1.189 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of Templates: time 0.00451/0.01872, allocations: 1.399 MB / 1.191 GB, free: 9.062 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.260888820048422]