Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001424/0.001424, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.001607/0.001607, allocations: 211.5 kB / 23.01 MB, free: 4.926 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.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.853/2.853, allocations: 0.49 GB / 0.7958 GB, free: 35.47 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.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.655e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003514/0.003531, allocations: 3.048 MB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.006322, allocations: 2.134 MB / 1.16 GB, free: 21.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.006676, allocations: 29.59 kB / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.007027, allocations: 175.3 kB / 1.16 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.007343, allocations: 156 kB / 1.16 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.008269, allocations: 0.4995 MB / 1.161 GB, free: 21.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.009315, allocations: 1.377 MB / 1.162 GB, free: 20.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005826/0.009897, allocations: 428.3 kB / 1.163 GB, free: 20.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.01027, allocations: 460.7 kB / 1.163 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.01059, allocations: 490.7 kB / 1.164 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.01075, allocations: 128.9 kB / 1.164 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.01094, allocations: 141.2 kB / 1.164 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0009463/0.01189, allocations: 2.044 MB / 1.166 GB, free: 18 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0004589/0.01235, allocations: 1.291 MB / 1.167 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.01248, allocations: 63.5 kB / 1.167 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001245/0.0126, allocations: 80.66 kB / 1.167 GB, free: 17.02 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: 218 (218) * Number of variables: 218 (218) Notification: Performance of [SIM] Bindings: time 0.003205/0.0158, allocations: 4.661 MB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0005019/0.01631, allocations: 0.5158 MB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.00249/0.0188, allocations: 2.827 MB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0008283/0.01962, allocations: 0.5788 MB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.005401/0.02503, allocations: 4.888 MB / 1.18 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0005024/0.02553, allocations: 409.2 kB / 1.181 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002312/0.02576, allocations: 279.6 kB / 1.181 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004501/0.02621, allocations: 0.5323 MB / 1.182 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.238e-05/0.0263, allocations: 52.56 kB / 1.182 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004994/0.0268, allocations: 0.5147 MB / 1.182 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001234/0.02804, allocations: 1.053 MB / 1.183 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009121/0.02895, allocations: 1.236 MB / 1.184 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002268/0.03122, allocations: 1.777 MB / 1.186 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001956/0.03317, allocations: 2.546 MB / 1.189 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.000139/0.03331, allocations: 66.69 kB / 1.189 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000456/0.03377, allocations: 0.6099 MB / 1.189 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.007639/0.04141, allocations: 6.001 MB / 1.195 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.642e-05/0.0415, allocations: 197.1 kB / 1.195 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.0415, allocations: 1.469 kB / 1.195 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.269e-05/0.04152, allocations: 0.6562 kB / 1.195 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.347e-05/0.04153, allocations: 37.22 kB / 1.195 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.599e-05/0.04155, allocations: 8.812 kB / 1.195 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001644/0.04319, allocations: 1.267 MB / 1.197 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0004986/0.04369, allocations: 0.5363 MB / 1.197 GB, free: 0.6016 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: ......... 0 * 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: ............................. 6 (6) {limPID.addPID.u2, limPID.D.x, limPI.addPID.u2, limPD.D.x, noLimPID.addPID.u2, noLimPID.D.x} * Number of discrete states: .................... 1 (1) {pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 70 (scalar:70, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 192 (scalar:192, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 192 (scalar:192, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 7.967e-05/0.04377, allocations: 89.22 kB / 1.197 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of SimCode: time 0.004232/0.048, allocations: 3.527 MB / 1.201 GB, free: 14.93 MB / 0.92 GB Notification: Performance of Templates: time 0.01535/0.06335, allocations: 7.865 MB / 1.208 GB, free: 14.07 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,limPID.u_s,limPID.u_m,limPID.y,noLimPID.y,limP.y,limPI.y,limPD.y Variables in the result:const.k,const.y,limP.Izero.k,limP.Izero.y,limP.Nd,limP.Ni,limP.P.k,limP.Td,limP.Ti,limP.addPD.u2,limP.addPID.u2,limP.assMesYMinMax.u,limP.cheYMinMax.k,limP.cheYMinMax.y,limP.controlError.u2,limP.controllerType,limP.k,limP.lim.uMax,limP.lim.uMin,limP.r,limP.revAct,limP.reverseActing,limP.uMea_revAct.k,limP.uMea_revAct.u,limP.uS_revAct.k,limP.u_m,limP.xi_start,limP.y,limP.yMax,limP.yMin,limP.yd_start,limPD.D.T,limPD.D.k,limPD.D.y_start,limPD.Izero.k,limPD.Izero.y,limPD.Nd,limPD.Ni,limPD.P.k,limPD.TDer.k,limPD.TDer.y,limPD.Td,limPD.Ti,limPD.addPID.u2,limPD.assMesYMinMax.u,limPD.cheYMinMax.k,limPD.cheYMinMax.y,limPD.controlError.u2,limPD.controllerType,limPD.k,limPD.kDer.k,limPD.kDer.y,limPD.lim.uMax,limPD.lim.uMin,limPD.r,limPD.revAct,limPD.reverseActing,limPD.uMea_revAct.k,limPD.uMea_revAct.u,limPD.uS_revAct.k,limPD.u_m,limPD.xi_start,limPD.y,limPD.yMax,limPD.yMin,limPD.yd_start,limPI.I.k,limPI.I.trigger,limPI.I.y_reset_in,limPI.I.y_start,limPI.Nd,limPI.Ni,limPI.P.k,limPI.Td,limPI.Ti,limPI.addPD.u2,limPI.antWinGai.k,limPI.assMesYMinMax.u,limPI.cheYMinMax.k,limPI.cheYMinMax.y,limPI.con.k,limPI.con.y,limPI.con1.k,limPI.con1.y,limPI.controlError.u2,limPI.controllerType,limPI.k,limPI.lim.uMax,limPI.lim.uMin,limPI.r,limPI.revAct,limPI.reverseActing,limPI.uMea_revAct.k,limPI.uMea_revAct.u,limPI.uS_revAct.k,limPI.u_m,limPI.xi_start,limPI.y,limPI.yMax,limPI.yMin,limPI.yd_start,limPID.D.T,limPID.D.k,limPID.D.y_start,limPID.I.k,limPID.I.trigger,limPID.I.y_reset_in,limPID.I.y_start,limPID.Nd,limPID.Ni,limPID.P.k,limPID.TDer.k,limPID.TDer.y,limPID.Td,limPID.Ti,limPID.antWinGai.k,limPID.assMesYMinMax.u,limPID.cheYMinMax.k,limPID.cheYMinMax.y,limPID.con.k,limPID.con.y,limPID.con1.k,limPID.con1.y,limPID.controlError.u2,limPID.controllerType,limPID.k,limPID.kDer.k,limPID.kDer.y,limPID.lim.uMax,limPID.lim.uMin,limPID.r,limPID.revAct,limPID.reverseActing,limPID.uMea_revAct.k,limPID.uMea_revAct.u,limPID.uS_revAct.k,limPID.u_m,limPID.u_s,limPID.xi_start,limPID.y,limPID.yMax,limPID.yMin,limPID.yd_start,noLimPID.D.T,noLimPID.D.k,noLimPID.D.y_start,noLimPID.I.k,noLimPID.I.trigger,noLimPID.I.y_reset_in,noLimPID.I.y_start,noLimPID.Nd,noLimPID.Ni,noLimPID.P.k,noLimPID.TDer.k,noLimPID.TDer.y,noLimPID.Td,noLimPID.Ti,noLimPID.antWinGai.k,noLimPID.assMesYMinMax.u,noLimPID.cheYMinMax.k,noLimPID.cheYMinMax.y,noLimPID.con.k,noLimPID.con.y,noLimPID.con1.k,noLimPID.con1.y,noLimPID.controlError.u2,noLimPID.controllerType,noLimPID.k,noLimPID.kDer.k,noLimPID.kDer.y,noLimPID.lim.uMax,noLimPID.lim.uMin,noLimPID.r,noLimPID.revAct,noLimPID.reverseActing,noLimPID.uMea_revAct.k,noLimPID.uMea_revAct.u,noLimPID.uS_revAct.k,noLimPID.u_m,noLimPID.xi_start,noLimPID.y,noLimPID.yMax,noLimPID.yMin,noLimPID.yd_start,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,time [Calling sys.exit(0), Time elapsed: 7.762204200960696]