Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001114/0.001114, allocations: 111.1 kB / 16.43 MB, free: 6.422 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.001079/0.001079, allocations: 186.1 kB / 17.36 MB, free: 5.684 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.162/1.162, allocations: 222.9 MB / 241 MB, free: 15.09 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.217/2.217, allocations: 469.8 MB / 0.7431 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.835e-05, allocations: 4.188 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003464/0.003493, allocations: 2.677 MB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.005767, allocations: 1.453 MB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.005949, allocations: 4 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.006329, allocations: 131.2 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.006629, allocations: 135.2 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.007099, allocations: 266.6 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.007606, allocations: 0.5622 MB / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.007843, allocations: 145.2 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.008103, allocations: 211.1 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.0083, allocations: 199 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.008368, allocations: 48 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.008532, allocations: 95.97 kB / 1.072 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003888/0.008927, allocations: 0.6446 MB / 1.072 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002097/0.009143, allocations: 433.3 kB / 1.073 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.009208, allocations: 67.75 kB / 1.073 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.696e-05/0.00928, allocations: 27.75 kB / 1.073 GB, free: 6.543 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: 70 (70) * Number of variables: 70 (70) Notification: Performance of Bindings: time 0.001241/0.01053, allocations: 1.49 MB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001127/0.01065, allocations: 93.12 kB / 1.074 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0006842/0.01134, allocations: 0.7413 MB / 1.075 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001337/0.01148, allocations: 139.5 kB / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of Alias: time 0.001419/0.0129, allocations: 1.25 MB / 1.076 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of simplify2: time 8.911e-05/0.013, allocations: 89.5 kB / 1.076 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001871/0.0132, allocations: 164.2 kB / 1.077 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of Events: time 0.0001747/0.01338, allocations: 119.1 kB / 1.077 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001937/0.01358, allocations: 186.9 kB / 1.077 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007567/0.01435, allocations: 0.6531 MB / 1.077 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003629/0.01472, allocations: 418.1 kB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of Inline: time 0.404/0.4187, allocations: 1.224 MB / 1.079 GB, free: 16.45 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001053/0.4189, allocations: 33.17 kB / 1.079 GB, free: 16.43 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002227/0.4191, allocations: 272.3 kB / 1.079 GB, free: 16.43 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003511/0.4226, allocations: 2.949 MB / 1.082 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Tearing: time 1.548e-05/0.4226, allocations: 0 / 1.082 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Initialization: time 1.422e-06/0.4226, allocations: 1.188 kB / 1.082 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Tearing: time 6.843e-06/0.4227, allocations: 3.688 kB / 1.082 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Categorize: time 1.241e-05/0.4227, allocations: 1.656 kB / 1.082 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003502/0.423, allocations: 186.1 kB / 1.082 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0002398/0.4233, allocations: 333.2 kB / 1.083 GB, free: 15.75 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 5.145e-05/0.4233, allocations: 54.61 kB / 1.083 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002687/0.426, allocations: 2.759 MB / 1.085 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.00757/0.4336, allocations: 3.99 MB / 1.089 GB, free: 14.24 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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