Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 111.4 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 250.1 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.616/2.616, allocations: 496.2 MB / 0.7826 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.DHC.Networks.Controls.Examples.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPum.TMix.1.|conPum.TSouIn.1.|conPum.TSouOut.1.|conPum.TMin_lower.y|conPum.TMax_upper.y|conPum.QCoo_flow.1.|conPum.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPum.TMix.1.|conPum.TSouIn.1.|conPum.TSouOut.1.|conPum.TMin_lower.y|conPum.TMax_upper.y|conPum.QCoo_flow.1.|conPum.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/1.984e-05, allocations: 8.891 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.005339/0.005359, allocations: 3.608 MB / 1.14 GB, free: 8.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.00831, allocations: 1.668 MB / 1.142 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.008596, allocations: 15.94 kB / 1.142 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.009219, allocations: 278.4 kB / 1.142 GB, free: 6.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.009765, allocations: 262.5 kB / 1.142 GB, free: 6.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.01063, allocations: 477 kB / 1.143 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.01177, allocations: 1.144 MB / 1.144 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004932/0.01227, allocations: 270.7 kB / 1.144 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.0128, allocations: 462.4 kB / 1.144 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.01323, allocations: 398.1 kB / 1.145 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.01334, allocations: 80 kB / 1.145 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.01355, allocations: 128 kB / 1.145 GB, free: 3.727 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.001021/0.01457, allocations: 1.376 MB / 1.146 GB, free: 2.336 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0005259/0.0151, allocations: 0.8239 MB / 1.147 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01523, allocations: 127.5 kB / 1.147 GB, free: 1.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0001364/0.01537, allocations: 43.62 kB / 1.147 GB, free: 1.332 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 (137) * Number of variables: 137 (137) Notification: Performance of Bindings: time 0.002651/0.01802, allocations: 2.756 MB / 1.15 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 0.0002751/0.01829, allocations: 278.4 kB / 1.15 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.00111/0.0194, allocations: 1.058 MB / 1.151 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of Simplify 1: time 0.000294/0.0197, allocations: 223.5 kB / 1.152 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of Alias: time 0.003742/0.02344, allocations: 2.898 MB / 1.154 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of Simplify 2: time 0.0001706/0.02361, allocations: 147.6 kB / 1.155 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of Remove Stream: time 0.0001392/0.02375, allocations: 139.7 kB / 1.155 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of Detect States: time 0.0004081/0.02416, allocations: 310.4 kB / 1.155 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of Events: time 0.000216/0.02437, allocations: 162.2 kB / 1.155 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0004678/0.02484, allocations: 433.6 kB / 1.156 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of Causalize: time 0.001772/0.02661, allocations: 1.433 MB / 1.157 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of After Index Reduction Inline: time 0.0006451/0.02726, allocations: 0.6127 MB / 1.157 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of Simplify: time 0.004591/0.03185, allocations: 1.301 MB / 1.159 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of Inline: time 0.001255/0.0331, allocations: 1.182 MB / 1.16 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of Partitioning: time 9.583e-05/0.0332, allocations: 55.69 kB / 1.16 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of Cleanup: time 0.000428/0.03363, allocations: 491.4 kB / 1.16 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of Causalize: time 0.007922/0.04155, allocations: 6.264 MB / 1.167 GB, free: 12.67 MB / 0.9513 GB Notification: Performance of Tearing: time 2.75e-05/0.04158, allocations: 4 kB / 1.167 GB, free: 12.67 MB / 0.9513 GB Notification: Performance of Initialization: time 7.82e-07/0.04158, allocations: 0 / 1.167 GB, free: 12.67 MB / 0.9513 GB Notification: Performance of Remove Dummies: time 1.073e-05/0.04159, allocations: 0.5625 kB / 1.167 GB, free: 12.67 MB / 0.9513 GB Notification: Performance of Tearing: time 3.156e-06/0.04159, allocations: 0 / 1.167 GB, free: 12.67 MB / 0.9513 GB Notification: Performance of Categorize: time 1.627e-05/0.04161, allocations: 4 kB / 1.167 GB, free: 12.66 MB / 0.9513 GB Notification: Performance of Solve: time 0.0007263/0.04233, allocations: 352.4 kB / 1.167 GB, free: 12.31 MB / 0.9513 GB Notification: Performance of Jacobian: time 0.000607/0.04294, allocations: 0.5423 MB / 1.167 GB, free: 11.73 MB / 0.9513 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: ......... 2 * 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) {conPum.conShi.addPID.u2} * Number of discrete states: .................... 6 (6) {QCoo_flow.nextTimeEvent, QCoo_flow.nextTimeEventScaled, TSouOut.nextTimeEvent, TSouOut.nextTimeEventScaled, TMixandTSouIn.nextTimeEvent, TMixandTSouIn.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 14 (14) {conPum.and2.u1, conPum.and2.y, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:61, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 155 (scalar:152, array:0, record:3) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 155 (scalar:152, array:0, record:3) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.49e-05/0.04304, allocations: 85.38 kB / 1.168 GB, free: 11.65 MB / 0.9513 GB Notification: Performance of SimCode: time 0.005194/0.04823, allocations: 3.785 MB / 1.171 GB, free: 7.98 MB / 0.9513 GB Notification: Performance of Templates: time 0.01213/0.06037, allocations: 6.527 MB / 1.178 GB, free: 1.461 MB / 0.9513 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.sim & ./Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Controls_Examples_MainPump1PipeExample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,conPum.TMix[1],conPum.TSouIn[1],conPum.TSouOut[1],conPum.TMin_lower.y,conPum.TMax_upper.y,conPum.QCoo_flow[1],conPum.y Variables in the result:QCoo_flow.columns[1],QCoo_flow.extrapolation,QCoo_flow.nout,QCoo_flow.offset[1],QCoo_flow.p_offset[1],QCoo_flow.shiftTime,QCoo_flow.smoothness,QCoo_flow.startTime,QCoo_flow.t_max,QCoo_flow.t_maxScaled,QCoo_flow.t_min,QCoo_flow.t_minScaled,QCoo_flow.tableOnFile,QCoo_flow.table[1,1],QCoo_flow.table[1,2],QCoo_flow.table[2,1],QCoo_flow.table[2,2],QCoo_flow.table[3,1],QCoo_flow.table[3,2],QCoo_flow.table[4,1],QCoo_flow.table[4,2],QCoo_flow.timeEvents,QCoo_flow.timeScale,QCoo_flow.timeScaled,QCoo_flow.verboseExtrapolation,QCoo_flow.verboseRead,QCoo_flow.y[1],TMixandTSouIn.columns[1],TMixandTSouIn.extrapolation,TMixandTSouIn.nout,TMixandTSouIn.offset[1],TMixandTSouIn.p_offset[1],TMixandTSouIn.shiftTime,TMixandTSouIn.smoothness,TMixandTSouIn.startTime,TMixandTSouIn.t_max,TMixandTSouIn.t_maxScaled,TMixandTSouIn.t_min,TMixandTSouIn.t_minScaled,TMixandTSouIn.tableOnFile,TMixandTSouIn.table[1,1],TMixandTSouIn.table[1,2],TMixandTSouIn.table[2,1],TMixandTSouIn.table[2,2],TMixandTSouIn.table[3,1],TMixandTSouIn.table[3,2],TMixandTSouIn.table[4,1],TMixandTSouIn.table[4,2],TMixandTSouIn.timeEvents,TMixandTSouIn.timeScale,TMixandTSouIn.timeScaled,TMixandTSouIn.verboseExtrapolation,TMixandTSouIn.verboseRead,TSou,TSouOut.columns[1],TSouOut.extrapolation,TSouOut.nout,TSouOut.offset[1],TSouOut.p_offset[1],TSouOut.shiftTime,TSouOut.smoothness,TSouOut.startTime,TSouOut.t_max,TSouOut.t_maxScaled,TSouOut.t_min,TSouOut.t_minScaled,TSouOut.tableOnFile,TSouOut.table[1,1],TSouOut.table[1,2],TSouOut.table[2,1],TSouOut.table[2,2],TSouOut.table[3,1],TSouOut.table[3,2],TSouOut.table[4,1],TSouOut.table[4,2],TSouOut.timeEvents,TSouOut.timeScale,TSouOut.timeScaled,TSouOut.verboseExtrapolation,TSouOut.verboseRead,TSouOut.y[1],conPum.PpumCooThr,conPum.QCoo_flow[1],conPum.TMax,conPum.TMax_lower.p,conPum.TMax_lower.u,conPum.TMax_nominal.k,conPum.TMax_nominal.y,conPum.TMax_upper.u1,conPum.TMax_upper.y,conPum.TMin,conPum.TMin_lower.u1,conPum.TMin_lower.y,conPum.TMin_nominal.k,conPum.TMin_nominal.y,conPum.TMin_upper.p,conPum.TMin_upper.u,conPum.TMix[1],conPum.TSouIn[1],conPum.TSouOut[1],conPum.Ti,conPum.and2.u2,conPum.booleanExpression.y,conPum.conShi.I.k,conPum.conShi.I.trigger,conPum.conShi.I.y_reset_in,conPum.conShi.I.y_start,conPum.conShi.Nd,conPum.conShi.Ni,conPum.conShi.P.k,conPum.conShi.Td,conPum.conShi.Ti,conPum.conShi.addPD.u2,conPum.conShi.antWinGai.k,conPum.conShi.assMesYMinMax.u,conPum.conShi.cheYMinMax.k,conPum.conShi.cheYMinMax.y,conPum.conShi.con.k,conPum.conShi.con.y,conPum.conShi.con1.k,conPum.conShi.con1.y,conPum.conShi.controlError.u1,conPum.conShi.controllerType,conPum.conShi.k,conPum.conShi.lim.uMax,conPum.conShi.lim.uMin,conPum.conShi.r,conPum.conShi.revAct,conPum.conShi.reverseActing,conPum.conShi.uMea_revAct.k,conPum.conShi.uS_revAct.k,conPum.conShi.uS_revAct.u,conPum.conShi.u_s,conPum.conShi.xi_start,conPum.conShi.yMax,conPum.conShi.yMin,conPum.conShi.yd_start,conPum.dTSlo,conPum.dTSou_nominal[1],conPum.dTSou_nor.k,conPum.delta,conPum.gai.k,conPum.gai1.k,conPum.gai2.k,conPum.greThr.greHys.h,conPum.greThr.greHys.pre_y_start,conPum.greThr.greHys.t,conPum.greThr.h,conPum.greThr.have_hysteresis,conPum.greThr.pre_y_start,conPum.greThr.t,conPum.hysPpumCoo,conPum.k,conPum.lowCur.f1,conPum.lowCur.f2,conPum.lowCur.limitAbove,conPum.lowCur.limitBelow,conPum.mulSum.k[1],conPum.mulSum1.k[1],conPum.nBui,conPum.nMix,conPum.nSou,conPum.offTMax,conPum.offTMaxExp.k,conPum.offTMaxExp.y,conPum.one.k,conPum.one.y,conPum.sNeg.u1,conPum.sPos.u1,conPum.swi2.u1,conPum.swi2.u3,conPum.uppCur.f1,conPum.uppCur.f2,conPum.uppCur.limitAbove,conPum.uppCur.limitBelow,conPum.use_constantHeaTemShift,conPum.use_temperatureShift,conPum.y,conPum.yMin.k,conPum.yMin.y,conPum.yPumMin,conPum.zer.k,conPum.zer.y,time [Calling sys.exit(0), Time elapsed: 7.495561396703124]