Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.001382/0.001382, 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.001503/0.001503, allocations: 211.6 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.301/1.301, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.754/2.754, 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.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.248e-05, allocations: 4.531 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.002821/0.002833, allocations: 2.417 MB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.004934, allocations: 2.12 MB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.005157, allocations: 21.72 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.005405, allocations: 125.8 kB / 1.16 GB, free: 21.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.005634, allocations: 146 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.006784, allocations: 0.771 MB / 1.16 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009036/0.007688, allocations: 1.365 MB / 1.162 GB, free: 20.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.008098, allocations: 349 kB / 1.162 GB, free: 20.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.008424, allocations: 491.1 kB / 1.163 GB, free: 20.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.008752, allocations: 497 kB / 1.163 GB, free: 20 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.008917, allocations: 136.4 kB / 1.163 GB, free: 20 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.009102, allocations: 148.1 kB / 1.163 GB, free: 20 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0008148/0.009917, allocations: 1.836 MB / 1.165 GB, free: 18.7 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003441/0.01026, allocations: 1.052 MB / 1.166 GB, free: 17.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.01038, allocations: 70.22 kB / 1.166 GB, free: 17.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.307e-05/0.01046, allocations: 55.72 kB / 1.166 GB, free: 17.91 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: 169 (169) * Number of variables: 169 (169) Notification: Performance of [SIM] Bindings: time 0.002661/0.01312, allocations: 4.291 MB / 1.17 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003112/0.01344, allocations: 409.5 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.002419/0.01585, allocations: 3.123 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0009107/0.01676, allocations: 0.8668 MB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.004103/0.02087, allocations: 4.251 MB / 1.179 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0006848/0.02155, allocations: 0.7306 MB / 1.18 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000475/0.02203, allocations: 0.5613 MB / 1.18 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0007432/0.02277, allocations: 0.8719 MB / 1.181 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001893/0.02296, allocations: 160 kB / 1.181 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004714/0.02343, allocations: 0.5131 MB / 1.182 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001118/0.02455, allocations: 1.034 MB / 1.183 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001322/0.02587, allocations: 1.808 MB / 1.184 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002049/0.02792, allocations: 1.883 MB / 1.186 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.002079/0.03, allocations: 2.884 MB / 1.189 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.614e-05/0.0301, allocations: 57.28 kB / 1.189 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0005648/0.03066, allocations: 0.7667 MB / 1.19 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.006279/0.03694, allocations: 5.448 MB / 1.195 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 6.726e-05/0.03701, allocations: 160.8 kB / 1.195 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.92e-07/0.03701, allocations: 0 / 1.195 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 9.638e-06/0.03702, allocations: 0.6562 kB / 1.195 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.126e-05/0.03703, allocations: 39 kB / 1.195 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.125e-05/0.03704, allocations: 6.75 kB / 1.195 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001198/0.03824, allocations: 0.9273 MB / 1.196 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0004227/0.03866, allocations: 0.5076 MB / 1.197 GB, free: 1.539 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: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {PIDWitInpGai.addPID.u2, PIDWitInpGai.D.x, PID.addPID.u2, PID.D.x} * Number of discrete states: .................... 5 (5) {Td.booPul.y, Ti.booPul.y, k.booPul.y, resSig.y, pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 20 (20) {PIDWitInpGai.greThrkTd.greHys.y, PIDWitInpGai.assMeskTd.u, lesThr.lesHys.y, or2.u1, or2.u2, or2.y, $SEV_2, $SEV_1, $SEV_0, $TEV_10, $TEV_9, $TEV_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: ........... 67 (scalar:67, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 151 (scalar:151, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 151 (scalar:151, 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 6.256e-05/0.03872, allocations: 93.69 kB / 1.197 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002765/0.04149, allocations: 3.077 MB / 1.2 GB, free: 96 kB / 0.9044 GB Notification: Performance of Templates: time 0.01501/0.0565, allocations: 9.549 MB / 1.209 GB, free: 14.54 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_Validation_PIDWithInputGains.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,PID.k,PIDWitInpGai.k,PID.Ti,PIDWitInpGai.Ti,PID.Td,PIDWitInpGai.Td,PID.y,PIDWitInpGai.y Variables in the result:PID.D.T,PID.D.k,PID.D.y_start,PID.I.k,PID.I.y_start,PID.Nd,PID.Ni,PID.P.k,PID.TDer.k,PID.TDer.y,PID.Td,PID.Ti,PID.addRes.u1,PID.antWinGai.k,PID.assMesYMinMax.u,PID.cheYMinMax.k,PID.cheYMinMax.y,PID.controlError.u2,PID.controllerType,PID.k,PID.kDer.k,PID.kDer.y,PID.lim.uMax,PID.lim.uMin,PID.r,PID.revAct,PID.reverseActing,PID.uMea_revAct.k,PID.uMea_revAct.u,PID.uS_revAct.k,PID.u_m,PID.xi_start,PID.y,PID.yMax,PID.yMin,PID.yResSig.k,PID.yResSig.y,PID.y_reset,PID.yd_start,PIDWitInpGai.D.y_start,PIDWitInpGai.I.k,PIDWitInpGai.I.y_start,PIDWitInpGai.Nd,PIDWitInpGai.Ni,PIDWitInpGai.Td,PIDWitInpGai.Ti,PIDWitInpGai.addRes.u1,PIDWitInpGai.antWinGai1.k,PIDWitInpGai.assMesYMinMax.u,PIDWitInpGai.cheYMinMax.k,PIDWitInpGai.cheYMinMax.y,PIDWitInpGai.controlError.u2,PIDWitInpGai.controllerType,PIDWitInpGai.gaiT.k,PIDWitInpGai.greThrkTd.greHys.h,PIDWitInpGai.greThrkTd.greHys.pre_y_start,PIDWitInpGai.greThrkTd.greHys.t,PIDWitInpGai.greThrkTd.h,PIDWitInpGai.greThrkTd.have_hysteresis,PIDWitInpGai.greThrkTd.pre_y_start,PIDWitInpGai.greThrkTd.t,PIDWitInpGai.k,PIDWitInpGai.lim.uMax,PIDWitInpGai.lim.uMin,PIDWitInpGai.r,PIDWitInpGai.revAct,PIDWitInpGai.reverseActing,PIDWitInpGai.uMea_revAct.k,PIDWitInpGai.uMea_revAct.u,PIDWitInpGai.uS_revAct.k,PIDWitInpGai.u_m,PIDWitInpGai.xi_start,PIDWitInpGai.y,PIDWitInpGai.yMax,PIDWitInpGai.yMin,PIDWitInpGai.yResSig.k,PIDWitInpGai.yResSig.y,PIDWitInpGai.y_reset,PIDWitInpGai.yd_start,Td.amplitude,Td.booPul.period,Td.booPul.shift,Td.booPul.t0,Td.booPul.t1,Td.booPul.width,Td.booToRea.realFalse,Td.booToRea.realTrue,Td.offset,Td.period,Td.shift,Td.width,Td.y,Ti.amplitude,Ti.booPul.period,Ti.booPul.shift,Ti.booPul.t0,Ti.booPul.t1,Ti.booPul.width,Ti.booToRea.realFalse,Ti.booToRea.realTrue,Ti.offset,Ti.period,Ti.shift,Ti.width,Ti.y,const.k,const.y,greThr.greNoHys.t,greThr.greNoHys.u,greThr.h,greThr.have_hysteresis,greThr.pre_y_start,greThr.t,greThr.u,k.amplitude,k.booPul.period,k.booPul.shift,k.booPul.t0,k.booPul.t1,k.booPul.width,k.booToRea.realFalse,k.booToRea.realTrue,k.offset,k.period,k.shift,k.width,lesThr.h,lesThr.have_hysteresis,lesThr.lesHys.h,lesThr.lesHys.pre_y_start,lesThr.lesHys.t,lesThr.pre_y_start,lesThr.t,modTim.y,pulse.amplitude,pulse.booPul.period,pulse.booPul.shift,pulse.booPul.t0,pulse.booPul.t1,pulse.booPul.width,pulse.booToRea.realFalse,pulse.booToRea.realTrue,pulse.offset,pulse.period,pulse.shift,pulse.width,resSig.period,resSig.shift,resSig.t0,resSig.t1,resSig.width,sub.u1,sub.u2,time [Calling sys.exit(0), Time elapsed: 7.421145515982062]