Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.001286/0.001286, 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.001383/0.001383, allocations: 211.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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.154/3.154, allocations: 0.505 GB / 0.8108 GB, free: 23.61 MB / 0.6231 GB " [Timeout remaining time 176] 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.63e-05, allocations: 3.969 kB / 1.178 GB, free: 16.51 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002422/0.002448, allocations: 1.125 MB / 1.179 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.004439, allocations: 1.495 MB / 1.181 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004556, allocations: 4.5 kB / 1.181 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.245e-05/0.004619, allocations: 26.77 kB / 1.181 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.004812, allocations: 62.02 kB / 1.181 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.005865, allocations: 458.6 kB / 1.181 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.006403, allocations: 0.5538 MB / 1.182 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.006578, allocations: 78.3 kB / 1.182 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.006803, allocations: 208 kB / 1.182 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.007028, allocations: 190.4 kB / 1.182 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.007109, allocations: 54.28 kB / 1.182 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.007231, allocations: 66.84 kB / 1.182 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004308/0.007662, allocations: 0.6197 MB / 1.183 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001353/0.007797, allocations: 305.6 kB / 1.183 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.007885, allocations: 31.5 kB / 1.183 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.431e-05/0.007929, allocations: 16.72 kB / 1.183 GB, free: 13.27 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: 35 (35) * Number of variables: 35 (35) Notification: Performance of [SIM] Bindings: time 0.001539/0.009468, allocations: 1.598 MB / 1.185 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001085/0.009577, allocations: 89.95 kB / 1.185 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001428/0.01101, allocations: 1.318 MB / 1.186 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000582/0.01159, allocations: 0.4929 MB / 1.187 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001903/0.01349, allocations: 1.304 MB / 1.188 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.00072/0.01421, allocations: 484.2 kB / 1.188 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000609/0.01482, allocations: 399.2 kB / 1.189 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0008529/0.01567, allocations: 0.5275 MB / 1.189 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001897/0.01586, allocations: 76.84 kB / 1.189 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002728/0.01613, allocations: 166.3 kB / 1.189 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004831/0.01662, allocations: 258.2 kB / 1.19 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001144/0.01776, allocations: 0.9028 MB / 1.191 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001464/0.01923, allocations: 0.9409 MB / 1.191 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001436/0.02066, allocations: 1.243 MB / 1.193 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.827e-05/0.02071, allocations: 21.83 kB / 1.193 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002556/0.02097, allocations: 214.3 kB / 1.193 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001537/0.0225, allocations: 0.8503 MB / 1.194 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.873e-05/0.02253, allocations: 22.72 kB / 1.194 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.82e-07/0.02253, allocations: 4 kB / 1.194 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.035e-05/0.02254, allocations: 0.9688 kB / 1.194 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.316e-06/0.02255, allocations: 11.44 kB / 1.194 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.304e-05/0.02256, allocations: 1.953 kB / 1.194 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003608/0.02292, allocations: 198.3 kB / 1.194 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0002421/0.02317, allocations: 248.2 kB / 1.194 GB, free: 6.82 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: ............... 1 * 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: ............................. 1 (1) {gai.divIyIu.u1} * Number of discrete states: .................... 4 (4) {tunSta.y, tOff.booPul.y, tOn.booPul.y, u.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {$TEV_7, $TEV_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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 40 (scalar:40, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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 0.0001506/0.02332, allocations: 34.08 kB / 1.194 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001931/0.02525, allocations: 1.082 MB / 1.195 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of Templates: time 0.01052/0.03577, allocations: 4.664 MB / 1.2 GB, free: 5.855 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.39348608488217]