Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001108/0.001108, allocations: 111 kB / 16.42 MB, free: 6.527 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.001039/0.001039, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.132/1.132, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.221/2.221, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.588e-05, allocations: 2.281 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003684/0.00371, allocations: 3.325 MB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.006276, allocations: 1.734 MB / 1.071 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.006802, allocations: 19.94 kB / 1.071 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.007229, allocations: 162.2 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.00764, allocations: 126.7 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.008298, allocations: 359.5 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.009424, allocations: 1.194 MB / 1.073 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.01007, allocations: 447.8 kB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.01044, allocations: 406.3 kB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.01074, allocations: 445.6 kB / 1.074 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.01086, allocations: 120 kB / 1.074 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.01097, allocations: 116 kB / 1.074 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0007816/0.01176, allocations: 1.582 MB / 1.076 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004313/0.01219, allocations: 1.012 MB / 1.077 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.01232, allocations: 163.3 kB / 1.077 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001329/0.01246, allocations: 75.25 kB / 1.077 GB, free: 2.25 MB / 0.8419 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.3714/0.3838, allocations: 3.501 MB / 1.08 GB, free: 16.05 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001727/0.384, allocations: 219.3 kB / 1.08 GB, free: 16.03 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001323/0.3853, allocations: 1.552 MB / 1.082 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003426/0.3857, allocations: 319.1 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of Alias: time 0.003573/0.3893, allocations: 3.823 MB / 1.086 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000152/0.3894, allocations: 170 kB / 1.086 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002886/0.3897, allocations: 320.5 kB / 1.086 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Events: time 0.0002065/0.3899, allocations: 195.4 kB / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003453/0.3903, allocations: 377 kB / 1.087 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001574/0.3919, allocations: 1.438 MB / 1.088 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0007149/0.3926, allocations: 0.8363 MB / 1.089 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of Inline: time 0.001911/0.3945, allocations: 2.037 MB / 1.091 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001083/0.3946, allocations: 65.28 kB / 1.091 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003331/0.395, allocations: 0.5204 MB / 1.092 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of Causalize: time 0.007479/0.4025, allocations: 6.016 MB / 1.098 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of Tearing: time 2.394e-05/0.4025, allocations: 3.75 kB / 1.098 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of Initialization: time 5.91e-07/0.4025, allocations: 0 / 1.098 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of Tearing: time 9.368e-06/0.4025, allocations: 1.156 kB / 1.098 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of Categorize: time 1.501e-05/0.4025, allocations: 10.91 kB / 1.098 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of Solve: time 0.0006806/0.4032, allocations: 380.3 kB / 1.098 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0004616/0.4037, allocations: 0.5609 MB / 1.099 GB, free: 7.809 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.712e-05/0.4038, allocations: 94.06 kB / 1.099 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002806/0.4066, allocations: 3.855 MB / 1.102 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.01086/0.4174, allocations: 6.498 MB / 1.109 GB, free: 5.285 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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