Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dpRemSet.y|dpRem.y|resDpLoc.dpLocSet|resDpLoc.dpLocSet_min|resDpLoc.dpLocSet_max",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dpRemSet.y|dpRem.y|resDpLoc.dpLocSet|resDpLoc.dpLocSet_min|resDpLoc.dpLocSet_max",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 107.2 kB / 16.42 MB, free: 6.504 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.0008654/0.0008655, allocations: 190 kB / 17.36 MB, free: 5.727 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.093/1.093, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.145/2.145, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.62e-05, allocations: 2.281 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003177/0.003202, allocations: 2.677 MB / 1.057 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005237, allocations: 1.457 MB / 1.059 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.005446, allocations: 8 kB / 1.059 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.005817, allocations: 123.2 kB / 1.059 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.006141, allocations: 131.2 kB / 1.059 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.006635, allocations: 263.4 kB / 1.059 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.00715, allocations: 0.5622 MB / 1.06 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.007446, allocations: 229.1 kB / 1.06 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.007716, allocations: 203.2 kB / 1.06 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.00792, allocations: 199 kB / 1.06 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.007985, allocations: 48 kB / 1.06 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.008153, allocations: 107.9 kB / 1.06 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0003521/0.008512, allocations: 0.6446 MB / 1.061 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0002009/0.008718, allocations: 429.4 kB / 1.062 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.008801, allocations: 79.69 kB / 1.062 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.438e-05/0.008881, allocations: 15.88 kB / 1.062 GB, free: 0.5898 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 (70) * Number of variables: 70 (70) Notification: Performance of Bindings: time 0.001484/0.01037, allocations: 2.001 MB / 1.064 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.000123/0.0105, allocations: 109 kB / 1.064 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0008219/0.01133, allocations: 1.026 MB / 1.065 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simplify1: time 6.27e-05/0.0114, allocations: 67.91 kB / 1.065 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Alias: time 0.001834/0.01324, allocations: 1.937 MB / 1.067 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simplify2: time 4.918e-05/0.0133, allocations: 47.92 kB / 1.067 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of Events: time 0.0001684/0.01347, allocations: 123.2 kB / 1.067 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002204/0.0137, allocations: 238.9 kB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002313/0.01394, allocations: 261.6 kB / 1.067 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008954/0.01484, allocations: 0.8916 MB / 1.068 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004654/0.01532, allocations: 0.5882 MB / 1.069 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of Inline: time 0.001315/0.01664, allocations: 1.532 MB / 1.07 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.845e-05/0.01673, allocations: 95.59 kB / 1.07 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001181/0.01685, allocations: 151.6 kB / 1.07 GB, free: 7 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004166/0.02102, allocations: 4.394 MB / 1.075 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of Tearing: time 1.008e-05/0.02104, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of Initialization: time 3.8e-07/0.02105, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of Tearing: time 4.308e-06/0.02105, allocations: 4 kB / 1.075 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of Categorize: time 9.929e-06/0.02107, allocations: 3.938 kB / 1.075 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003247/0.0214, allocations: 238.8 kB / 1.075 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0003375/0.02174, allocations: 443.1 kB / 1.075 GB, free: 1.867 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: ......... 4 * 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: ............................. 1 (1) {resDpLoc.ctlDpRem.addPID.u2} * Number of discrete states: .................... 2 (2) {ratDp.tab.nextTimeEvent, ratDp.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:33, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 77 (scalar:74, array:2, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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: ........... 77 (scalar:74, array:2, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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 4.597e-05/0.02179, allocations: 54.8 kB / 1.075 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of SimCode: time 0.365/0.3868, allocations: 2.805 MB / 1.078 GB, free: 23.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.006953/0.3938, allocations: 3.962 MB / 1.082 GB, free: 23.05 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dpRemSet.y,dpRem.y,resDpLoc.dpLocSet,resDpLoc.dpLocSet_min,resDpLoc.dpLocSet_max Variables in the result:VPri_flow_nominal,dpRem.y,dpRemSet.k,dpRemSet.y,nPum,ratDp.extrapolation,ratDp.nT,ratDp.nout,ratDp.offset[1],ratDp.smoothness,ratDp.t0,ratDp.tab.columns[1],ratDp.tab.extrapolation,ratDp.tab.nout,ratDp.tab.offset[1],ratDp.tab.p_offset[1],ratDp.tab.shiftTime,ratDp.tab.smoothness,ratDp.tab.startTime,ratDp.tab.t_max,ratDp.tab.t_maxScaled,ratDp.tab.t_min,ratDp.tab.t_minScaled,ratDp.tab.tableOnFile,ratDp.tab.table[1,1],ratDp.tab.table[1,2],ratDp.tab.table[2,1],ratDp.tab.table[2,2],ratDp.tab.table[3,1],ratDp.tab.table[3,2],ratDp.tab.table[4,1],ratDp.tab.table[4,2],ratDp.tab.timeEvents,ratDp.tab.timeScale,ratDp.tab.verboseExtrapolation,ratDp.tab.verboseRead,ratDp.table[1,1],ratDp.table[1,2],ratDp.table[2,1],ratDp.table[2,2],ratDp.table[3,1],ratDp.table[3,2],ratDp.table[4,1],ratDp.table[4,2],ratDp.timeRange,ratDp.timeScale,resDpLoc.Ti,resDpLoc.ctlDpRem.I.k,resDpLoc.ctlDpRem.I.trigger,resDpLoc.ctlDpRem.I.y_reset_in,resDpLoc.ctlDpRem.I.y_start,resDpLoc.ctlDpRem.Nd,resDpLoc.ctlDpRem.Ni,resDpLoc.ctlDpRem.P.k,resDpLoc.ctlDpRem.Td,resDpLoc.ctlDpRem.Ti,resDpLoc.ctlDpRem.addPD.u2,resDpLoc.ctlDpRem.antWinGai.k,resDpLoc.ctlDpRem.assMesYMinMax.u,resDpLoc.ctlDpRem.cheYMinMax.k,resDpLoc.ctlDpRem.cheYMinMax.y,resDpLoc.ctlDpRem.con.k,resDpLoc.ctlDpRem.con.y,resDpLoc.ctlDpRem.con1.k,resDpLoc.ctlDpRem.con1.y,resDpLoc.ctlDpRem.controllerType,resDpLoc.ctlDpRem.k,resDpLoc.ctlDpRem.lim.uMax,resDpLoc.ctlDpRem.lim.uMin,resDpLoc.ctlDpRem.r,resDpLoc.ctlDpRem.revAct,resDpLoc.ctlDpRem.reverseActing,resDpLoc.ctlDpRem.uMea_revAct.k,resDpLoc.ctlDpRem.uS_revAct.k,resDpLoc.ctlDpRem.xi_start,resDpLoc.ctlDpRem.yMax,resDpLoc.ctlDpRem.yMin,resDpLoc.ctlDpRem.yd_start,resDpLoc.dpLocRes.f1,resDpLoc.dpLocRes.f2,resDpLoc.dpLocRes.limitAbove,resDpLoc.dpLocRes.limitBelow,resDpLoc.dpLocRes.x1,resDpLoc.dpLocRes.x2,resDpLoc.dpLocRes.y,resDpLoc.dpLocSet,resDpLoc.dpLocSetMax.k,resDpLoc.dpLocSetMax.y,resDpLoc.dpLocSetMin.k,resDpLoc.dpLocSetMin.y,resDpLoc.dpLocSet_max,resDpLoc.dpLocSet_min,resDpLoc.dpRemSet,resDpLoc.k,resDpLoc.one.k,resDpLoc.one.y,resDpLoc.zer.k,resDpLoc.zer.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,time