Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 112.7 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 496.1 MB / 0.7826 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.654e-05, allocations: 2.281 kB / 1.137 GB, free: 34.13 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003255/0.003272, allocations: 3.329 MB / 1.14 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.005136, allocations: 1.729 MB / 1.142 GB, free: 30.39 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.005415, allocations: 21.69 kB / 1.142 GB, free: 30.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.00572, allocations: 162.1 kB / 1.142 GB, free: 30.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.005965, allocations: 127.6 kB / 1.142 GB, free: 30.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.00648, allocations: 386 kB / 1.142 GB, free: 29.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006704/0.00715, allocations: 1.197 MB / 1.143 GB, free: 29.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.007652, allocations: 450.1 kB / 1.144 GB, free: 29.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.007898, allocations: 402.4 kB / 1.144 GB, free: 28.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.008132, allocations: 448.9 kB / 1.145 GB, free: 28.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.008254, allocations: 117.8 kB / 1.145 GB, free: 28.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.008351, allocations: 119.6 kB / 1.145 GB, free: 28.5 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0007284/0.009079, allocations: 1.753 MB / 1.147 GB, free: 27.2 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.000404/0.009483, allocations: 1.057 MB / 1.148 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.009607, allocations: 162.8 kB / 1.148 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001231/0.00973, allocations: 78.16 kB / 1.148 GB, free: 26.28 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 Bindings: time 0.00238/0.01211, allocations: 3.634 MB / 1.151 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0002205/0.01233, allocations: 395.8 kB / 1.152 GB, free: 23.36 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.001257/0.01359, allocations: 1.563 MB / 1.153 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of Simplify 1: time 0.000342/0.01393, allocations: 321.3 kB / 1.154 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of Alias: time 0.004863/0.01879, allocations: 4.828 MB / 1.158 GB, free: 19.16 MB / 0.9044 GB Notification: Performance of Simplify 2: time 0.000195/0.01899, allocations: 174.5 kB / 1.158 GB, free: 19.05 MB / 0.9044 GB Notification: Performance of Remove Stream: time 0.0001516/0.01914, allocations: 186.1 kB / 1.159 GB, free: 18.91 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0004989/0.01964, allocations: 361.3 kB / 1.159 GB, free: 18.63 MB / 0.9044 GB Notification: Performance of Events: time 0.0001791/0.01982, allocations: 142.6 kB / 1.159 GB, free: 18.54 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0004725/0.02029, allocations: 455.1 kB / 1.16 GB, free: 18.29 MB / 0.9044 GB Notification: Performance of Causalize: time 0.001891/0.02218, allocations: 1.568 MB / 1.161 GB, free: 17.76 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.0006321/0.02281, allocations: 0.705 MB / 1.162 GB, free: 17.33 MB / 0.9044 GB Notification: Performance of Simplify: time 0.001458/0.02427, allocations: 1.156 MB / 1.163 GB, free: 16.61 MB / 0.9044 GB Notification: Performance of Inline: time 0.001147/0.02542, allocations: 1.274 MB / 1.164 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0001064/0.02553, allocations: 59.02 kB / 1.164 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.0003285/0.02585, allocations: 0.5 MB / 1.165 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of Causalize: time 0.007811/0.03366, allocations: 6.832 MB / 1.171 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of Tearing: time 3.387e-05/0.0337, allocations: 0 / 1.171 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of Initialization: time 5.61e-07/0.0337, allocations: 1.062 kB / 1.171 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 1.252e-05/0.03371, allocations: 4.594 kB / 1.171 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of Tearing: time 4.398e-06/0.03372, allocations: 1.125 kB / 1.171 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of Categorize: time 1.36e-05/0.03373, allocations: 3.938 kB / 1.171 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of Solve: time 0.000799/0.03453, allocations: 388.3 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of Jacobian: time 0.0005508/0.03508, allocations: 0.6281 MB / 1.172 GB, free: 12.61 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: ................. 10 (10) {setPoi.u, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 79 (scalar:79, 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: ........... 176 (scalar:176, 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: ........... 176 (scalar:176, 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.384e-05/0.03514, allocations: 87.23 kB / 1.172 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002924/0.03807, allocations: 3.666 MB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.01176/0.04983, allocations: 6.25 MB / 1.182 GB, free: 10.13 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.4806343875825405]