Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.001171/0.001171, 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.001265/0.001265, allocations: 209.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.299/1.299, 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.81/2.81, 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.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.12e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003149/0.00316, allocations: 2.799 MB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.00502, allocations: 1.74 MB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.005299, allocations: 24.31 kB / 1.16 GB, free: 22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.005658, allocations: 163.8 kB / 1.16 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.005948, allocations: 126 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.006574, allocations: 365 kB / 1.16 GB, free: 21.56 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.007663, allocations: 1.192 MB / 1.161 GB, free: 20.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.008319, allocations: 452.3 kB / 1.162 GB, free: 20.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.008695, allocations: 414.5 kB / 1.162 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.009046, allocations: 457.1 kB / 1.163 GB, free: 20.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.009232, allocations: 119.5 kB / 1.163 GB, free: 20.13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.009404, allocations: 118.6 kB / 1.163 GB, free: 20.13 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.001112/0.01052, allocations: 1.952 MB / 1.165 GB, free: 18.7 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0007005/0.01122, allocations: 1.259 MB / 1.166 GB, free: 17.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.01135, allocations: 59.78 kB / 1.166 GB, free: 17.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001255/0.01147, allocations: 82.98 kB / 1.166 GB, free: 17.74 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: 229 (229) * Number of variables: 229 (229) Notification: Performance of [SIM] Bindings: time 0.00343/0.0149, allocations: 4.493 MB / 1.17 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004357/0.01534, allocations: 0.52 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001742/0.01708, allocations: 2.258 MB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0006567/0.01774, allocations: 0.5024 MB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00506/0.0228, allocations: 4.963 MB / 1.179 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003346/0.02313, allocations: 318.1 kB / 1.179 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001404/0.02327, allocations: 182.2 kB / 1.179 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003436/0.02361, allocations: 439.4 kB / 1.179 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.667e-05/0.02369, allocations: 55.61 kB / 1.179 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004743/0.02417, allocations: 0.5014 MB / 1.18 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001191/0.02536, allocations: 1.041 MB / 1.181 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007204/0.02608, allocations: 1.022 MB / 1.182 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001655/0.02773, allocations: 1.389 MB / 1.183 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001426/0.02916, allocations: 1.833 MB / 1.185 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.0001106/0.02927, allocations: 61.56 kB / 1.185 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000307/0.02958, allocations: 487.8 kB / 1.186 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.006324/0.0359, allocations: 5.29 MB / 1.191 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.358e-05/0.03597, allocations: 170 kB / 1.191 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.032e-06/0.03597, allocations: 1.156 kB / 1.191 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 9.849e-06/0.03598, allocations: 4.594 kB / 1.191 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.267e-05/0.036, allocations: 42.03 kB / 1.191 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.908e-06/0.03601, allocations: 2.734 kB / 1.191 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001327/0.03733, allocations: 1.107 MB / 1.192 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0005129/0.03785, allocations: 0.5423 MB / 1.193 GB, free: 3.047 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: ............................. 10 (10) {limPIDPar.addPID.u2, limPIDPar.D.x, intWitRes1.y, limPIDInp.addPID.u2, limPIDInp.D.x, intWitRes2.y, limPIPar.addPID.u2, intWitRes3.y, limPIInp.addPID.u2, intWitRes4.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {setPoi.u, $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: ........... 71 (scalar:71, 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: ........... 168 (scalar:168, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 168 (scalar:168, 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 6.541e-05/0.03791, allocations: 89.28 kB / 1.193 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002852/0.04076, allocations: 3.325 MB / 1.196 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of Templates: time 0.01157/0.05234, allocations: 6.372 MB / 1.202 GB, free: 0.707 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,limPIDPar.u_s,limPIDPar.u_m,limPIDPar.y,limPIDInp.u_s,limPIDInp.u_m,limPIDInp.y,limPIPar.u_s,limPIPar.u_m,limPIPar.y,limPIInp.u_s,limPIInp.u_m,limPIInp.y Variables in the result:con.k,con.y,greEquThr.greNoHys.t,greEquThr.greNoHys.u,greEquThr.h,greEquThr.have_hysteresis,greEquThr.pre_y_start,greEquThr.t,greEquThr.u,intWitRes1.k,intWitRes1.trigger,intWitRes1.u,intWitRes1.y,intWitRes1.y_reset_in,intWitRes1.y_start,intWitRes2.k,intWitRes2.trigger,intWitRes2.u,intWitRes2.y,intWitRes2.y_reset_in,intWitRes2.y_start,intWitRes3.k,intWitRes3.trigger,intWitRes3.u,intWitRes3.y,intWitRes3.y_reset_in,intWitRes3.y_start,intWitRes4.k,intWitRes4.trigger,intWitRes4.u,intWitRes4.y,intWitRes4.y_reset_in,intWitRes4.y_start,limPIDInp.D.T,limPIDInp.D.k,limPIDInp.D.y_start,limPIDInp.I.k,limPIDInp.I.y_start,limPIDInp.Nd,limPIDInp.Ni,limPIDInp.P.k,limPIDInp.TDer.k,limPIDInp.TDer.y,limPIDInp.Td,limPIDInp.Ti,limPIDInp.addRes.u1,limPIDInp.antWinGai.k,limPIDInp.assMesYMinMax.u,limPIDInp.cheYMinMax.k,limPIDInp.cheYMinMax.y,limPIDInp.controllerType,limPIDInp.k,limPIDInp.kDer.k,limPIDInp.kDer.y,limPIDInp.lim.uMax,limPIDInp.lim.uMin,limPIDInp.r,limPIDInp.revAct,limPIDInp.reverseActing,limPIDInp.uMea_revAct.k,limPIDInp.uS_revAct.k,limPIDInp.u_m,limPIDInp.u_s,limPIDInp.xi_start,limPIDInp.y,limPIDInp.yMax,limPIDInp.yMin,limPIDInp.yResSig.k,limPIDInp.yResSig.y,limPIDInp.y_reset,limPIDInp.yd_start,limPIDPar.D.T,limPIDPar.D.k,limPIDPar.D.y_start,limPIDPar.I.k,limPIDPar.I.y_start,limPIDPar.Nd,limPIDPar.Ni,limPIDPar.P.k,limPIDPar.TDer.k,limPIDPar.TDer.y,limPIDPar.Td,limPIDPar.Ti,limPIDPar.addRes.u1,limPIDPar.antWinGai.k,limPIDPar.assMesYMinMax.u,limPIDPar.cheYMinMax.k,limPIDPar.cheYMinMax.y,limPIDPar.controllerType,limPIDPar.k,limPIDPar.kDer.k,limPIDPar.kDer.y,limPIDPar.lim.uMax,limPIDPar.lim.uMin,limPIDPar.r,limPIDPar.revAct,limPIDPar.reverseActing,limPIDPar.uMea_revAct.k,limPIDPar.uS_revAct.k,limPIDPar.u_m,limPIDPar.u_s,limPIDPar.xi_start,limPIDPar.y,limPIDPar.yMax,limPIDPar.yMin,limPIDPar.yResSig.k,limPIDPar.yResSig.y,limPIDPar.y_reset,limPIDPar.yd_start,limPIInp.I.k,limPIInp.I.y_start,limPIInp.Nd,limPIInp.Ni,limPIInp.P.k,limPIInp.Td,limPIInp.Ti,limPIInp.addPD.u2,limPIInp.addRes.u1,limPIInp.antWinGai.k,limPIInp.assMesYMinMax.u,limPIInp.cheYMinMax.k,limPIInp.cheYMinMax.y,limPIInp.controllerType,limPIInp.k,limPIInp.lim.uMax,limPIInp.lim.uMin,limPIInp.r,limPIInp.revAct,limPIInp.reverseActing,limPIInp.uMea_revAct.k,limPIInp.uS_revAct.k,limPIInp.u_m,limPIInp.u_s,limPIInp.xi_start,limPIInp.y,limPIInp.yMax,limPIInp.yMin,limPIInp.yResSig.k,limPIInp.yResSig.y,limPIInp.y_reset,limPIInp.yd_start,limPIPar.I.k,limPIPar.I.y_start,limPIPar.Nd,limPIPar.Ni,limPIPar.P.k,limPIPar.Td,limPIPar.Ti,limPIPar.addPD.u2,limPIPar.addRes.u1,limPIPar.antWinGai.k,limPIPar.assMesYMinMax.u,limPIPar.cheYMinMax.k,limPIPar.cheYMinMax.y,limPIPar.controllerType,limPIPar.k,limPIPar.lim.uMax,limPIPar.lim.uMin,limPIPar.r,limPIPar.revAct,limPIPar.reverseActing,limPIPar.uMea_revAct.k,limPIPar.uS_revAct.k,limPIPar.u_m,limPIPar.u_s,limPIPar.xi_start,limPIPar.y,limPIPar.yMax,limPIPar.yMin,limPIPar.yResSig.k,limPIPar.yResSig.y,limPIPar.y_reset,limPIPar.yd_start,modTim.y,resVal.k,resVal.y,setPoi.realFalse,setPoi.realTrue,time [Calling sys.exit(0), Time elapsed: 7.720786557998508]