Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 107.6 kB / 16.42 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 190 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.098/2.098, allocations: 437 MB / 0.7111 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.311e-05, allocations: 4.391 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003462/0.003485, allocations: 3.318 MB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.005775, allocations: 1.731 MB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.006106, allocations: 19.94 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.00645, allocations: 166.2 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.006694, allocations: 122.8 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.007248, allocations: 359.5 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008604/0.008116, allocations: 1.194 MB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.008833, allocations: 0.6597 MB / 1.027 GB, free: 1.777 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.009123, allocations: 402.2 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.009433, allocations: 449.7 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.009558, allocations: 123.9 kB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.009669, allocations: 116 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0007797/0.01046, allocations: 1.578 MB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0004325/0.01089, allocations: 1.012 MB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.01102, allocations: 163.4 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001156/0.01114, allocations: 79.19 kB / 1.03 GB, free: 13.84 MB / 0.8106 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.003355/0.0145, allocations: 4.725 MB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0001692/0.01468, allocations: 215.8 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.001865/0.01655, allocations: 2.295 MB / 1.037 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of simplify1: time 0.000137/0.01669, allocations: 171.8 kB / 1.038 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of Alias: time 0.00527/0.02197, allocations: 5.747 MB / 1.043 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simplify2: time 8.367e-05/0.02206, allocations: 95.88 kB / 1.043 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0003662/0.02244, allocations: 449 kB / 1.044 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of Events: time 0.0002222/0.02267, allocations: 211.6 kB / 1.044 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0005004/0.02318, allocations: 0.5779 MB / 1.044 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of Causalize: time 0.002013/0.0252, allocations: 2.046 MB / 1.046 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0009753/0.02618, allocations: 1.21 MB / 1.048 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of Inline: time 0.002548/0.02874, allocations: 2.905 MB / 1.051 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001825/0.02893, allocations: 183.6 kB / 1.051 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of Cleanup: time 0.0002111/0.02915, allocations: 291.6 kB / 1.051 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of Causalize: time 0.009011/0.03816, allocations: 9.105 MB / 1.06 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of Tearing: time 2.218e-05/0.0382, allocations: 0 / 1.06 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of Initialization: time 7.72e-07/0.03821, allocations: 0 / 1.06 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of Tearing: time 7.484e-06/0.03822, allocations: 3.938 kB / 1.06 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of Categorize: time 1.506e-05/0.03824, allocations: 4 kB / 1.06 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Solve: time 0.0007018/0.03895, allocations: 0.5018 MB / 1.06 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0007143/0.03967, allocations: 0.8307 MB / 1.061 GB, free: 13.01 MB / 0.8419 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: ......... 6 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {setPoi.u, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:85, 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 (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: ........... 182 (scalar:182, 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 (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: ........... 182 (scalar:182, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.961e-05/0.03974, allocations: 79.42 kB / 1.061 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002793/0.04254, allocations: 3.987 MB / 1.065 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.009789/0.05234, allocations: 6.472 MB / 1.071 GB, free: 2.422 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.uS_revAct.u,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