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) 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.DHC.Networks.Controls.Examples.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 110.8 kB / 16.42 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.001056/0.001057, allocations: 183.2 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.098/1.098, allocations: 222.9 MB / 241 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.129/2.129, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.678e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.003997/0.004022, allocations: 3.579 MB / 1.058 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.006363, allocations: 1.664 MB / 1.06 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.006613, allocations: 11.94 kB / 1.06 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.007122, allocations: 274.4 kB / 1.06 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.007605, allocations: 258.5 kB / 1.06 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.008323, allocations: 459.4 kB / 1.061 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.009166, allocations: 1.051 MB / 1.062 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004797/0.009655, allocations: 426.6 kB / 1.062 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.009995, allocations: 378.5 kB / 1.062 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.01031, allocations: 378.2 kB / 1.063 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.01042, allocations: 84 kB / 1.063 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.01058, allocations: 124 kB / 1.063 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006603/0.01125, allocations: 1.231 MB / 1.064 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.00035/0.01161, allocations: 0.7927 MB / 1.065 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.01172, allocations: 127.5 kB / 1.065 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001131/0.01183, allocations: 51.55 kB / 1.065 GB, free: 12.87 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: 137 (137) * Number of variables: 137 (137) Notification: Performance of Bindings: time 0.00263/0.01447, allocations: 3.622 MB / 1.069 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001474/0.01462, allocations: 172.6 kB / 1.069 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001221/0.01585, allocations: 1.546 MB / 1.07 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of simplify1: time 9.161e-05/0.01595, allocations: 119.8 kB / 1.071 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of Alias: time 0.003122/0.01908, allocations: 3.388 MB / 1.074 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of simplify2: time 6.435e-05/0.01915, allocations: 75.88 kB / 1.074 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of Events: time 0.0002041/0.01937, allocations: 193 kB / 1.074 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003622/0.01974, allocations: 412.8 kB / 1.074 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0004239/0.02017, allocations: 478.2 kB / 1.075 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001829/0.022, allocations: 1.865 MB / 1.077 GB, free: 380 kB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.3765/0.3985, allocations: 1.044 MB / 1.078 GB, free: 22.78 MB / 0.8419 GB Notification: Performance of Inline: time 0.002407/0.401, allocations: 2.641 MB / 1.08 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000144/0.4011, allocations: 164 kB / 1.081 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002106/0.4014, allocations: 276.3 kB / 1.081 GB, free: 22.46 MB / 0.8419 GB Notification: Performance of Causalize: time 0.008116/0.4095, allocations: 8.287 MB / 1.089 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of Tearing: time 2.065e-05/0.4095, allocations: 1.25 kB / 1.089 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of Initialization: time 1.252e-06/0.4095, allocations: 0 / 1.089 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of Tearing: time 5.972e-06/0.4095, allocations: 3.344 kB / 1.089 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of Categorize: time 1.603e-05/0.4096, allocations: 11.31 kB / 1.089 GB, free: 20.05 MB / 0.8419 GB Notification: Performance of Solve: time 0.0007338/0.4103, allocations: 455 kB / 1.089 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0006557/0.411, allocations: 0.781 MB / 1.09 GB, free: 19.45 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: ......... 3 * 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.nextTimeEventScaled, TSouOut.nextTimeEvent, TMixandTSouIn.nextTimeEventScaled, TMixandTSouIn.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {conPum.and2.u1, conPum.and2.y, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $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: ........... 69 (scalar:63, array:6, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 149 (scalar:138, array:8, record:3) * Number of multi strong components: ............ 6 (algorithm:6, 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: ........... 149 (scalar:138, array:8, record:3) * Number of multi strong components: ............ 6 (algorithm:6, 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.046e-05/0.411, allocations: 68.27 kB / 1.09 GB, free: 19.44 MB / 0.8419 GB Notification: Performance of SimCode: time 0.003695/0.4147, allocations: 4.138 MB / 1.094 GB, free: 17.42 MB / 0.8419 GB Notification: Performance of Templates: time 0.01093/0.4257, allocations: 6.661 MB / 1.101 GB, free: 16.89 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe 2>&1) 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) "" 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,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,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.ySetPum.y,conPum.zer.k,conPum.zer.y,time