Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 114.8 kB / 16.43 MB, free: 6.508 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.00112/0.00112, allocations: 189.5 kB / 17.35 MB, free: 5.754 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.194/1.194, 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 9.1.3-maint.9.1.x/package.mo): time 1.982/1.982, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.899e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003754/0.003785, allocations: 3.324 MB / 0.9548 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.006633, allocations: 1.731 MB / 0.9564 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.007013, allocations: 19.94 kB / 0.9565 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.007439, allocations: 158.2 kB / 0.9566 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.007738, allocations: 126.7 kB / 0.9567 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.008427, allocations: 359.5 kB / 0.9571 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009846/0.00942, allocations: 1.197 MB / 0.9583 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.01021, allocations: 0.6558 MB / 0.9589 GB, free: 32 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.01055, allocations: 402.3 kB / 0.9593 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.01087, allocations: 449.6 kB / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.011, allocations: 120 kB / 0.9598 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.01112, allocations: 120 kB / 0.9599 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0009686/0.0121, allocations: 1.574 MB / 0.9615 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0005287/0.01263, allocations: 1.019 MB / 0.9625 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.01277, allocations: 159.4 kB / 0.9626 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001483/0.01293, allocations: 71.31 kB / 0.9627 GB, free: 12.11 MB / 0.7481 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.003987/0.01692, allocations: 4.722 MB / 0.9673 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0001914/0.01712, allocations: 223.7 kB / 0.9675 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.001859/0.01898, allocations: 2.288 MB / 0.9697 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of simplify1: time 0.0001451/0.01914, allocations: 179.8 kB / 0.9699 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of Alias: time 0.005736/0.02488, allocations: 5.762 MB / 0.9755 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of simplify2: time 9.852e-05/0.02499, allocations: 95.88 kB / 0.9756 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0004244/0.02542, allocations: 430 kB / 0.976 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of Events: time 0.0002529/0.02569, allocations: 227.6 kB / 0.9763 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0005252/0.02622, allocations: 0.5624 MB / 0.9768 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of Causalize: time 0.002088/0.02832, allocations: 2.046 MB / 0.9788 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of After Index Reduction Inline: time 0.001021/0.02935, allocations: 1.214 MB / 0.98 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of Inline: time 0.002775/0.03213, allocations: 2.901 MB / 0.9828 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0002033/0.03235, allocations: 183.6 kB / 0.983 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of Cleanup: time 0.0002376/0.03259, allocations: 291.6 kB / 0.9833 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of Causalize: time 0.009662/0.04226, allocations: 9.093 MB / 0.9922 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Tearing: time 2.494e-05/0.0423, allocations: 0 / 0.9922 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Initialization: time 2.915e-06/0.04231, allocations: 4 kB / 0.9922 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Tearing: time 8.346e-06/0.04233, allocations: 0 / 0.9922 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Categorize: time 1.875e-05/0.04236, allocations: 7.938 kB / 0.9922 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of Solve: time 0.0007599/0.04312, allocations: 0.5135 MB / 0.9927 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of Jacobian: time 0.0007484/0.04388, allocations: 0.8228 MB / 0.9935 GB, free: 11.27 MB / 0.7794 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 7.449e-05/0.04396, allocations: 83.22 kB / 0.9936 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of SimCode: time 0.002895/0.04686, allocations: 3.976 MB / 0.9974 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.009981/0.05685, allocations: 6.471 MB / 1.004 GB, free: 0.6875 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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