Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001078/0.001078, allocations: 111.3 kB / 16.42 MB, free: 6.473 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.001052/0.001052, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.138/1.138, allocations: 222.9 MB / 241 MB, free: 15.08 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.22/2.22, allocations: 469.8 MB / 0.7432 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.601e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.004233/0.004257, allocations: 3.571 MB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.006909, allocations: 1.664 MB / 1.071 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.007325, allocations: 11.94 kB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.007941, allocations: 282.4 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.008555, allocations: 262.5 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.009408, allocations: 461.5 kB / 1.072 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.01042, allocations: 1.051 MB / 1.073 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.01085, allocations: 278.7 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.01128, allocations: 378.5 kB / 1.074 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.0116, allocations: 370.2 kB / 1.074 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.01171, allocations: 84 kB / 1.074 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.0119, allocations: 132 kB / 1.074 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006798/0.01259, allocations: 1.227 MB / 1.075 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003655/0.01296, allocations: 0.7966 MB / 1.076 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.01307, allocations: 131.5 kB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001402/0.01321, allocations: 51.55 kB / 1.076 GB, free: 2.867 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.002019/0.01524, allocations: 2.631 MB / 1.079 GB, free: 76 kB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.3758/0.3911, allocations: 148.1 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001112/0.3922, allocations: 1.061 MB / 1.08 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002343/0.3925, allocations: 200.5 kB / 1.08 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of Alias: time 0.002253/0.3947, allocations: 2.202 MB / 1.082 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001182/0.3949, allocations: 146.8 kB / 1.082 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003587/0.3952, allocations: 263.5 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of Events: time 0.0001797/0.3954, allocations: 174 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003077/0.3957, allocations: 317 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001468/0.3972, allocations: 1.357 MB / 1.084 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006004/0.3978, allocations: 0.722 MB / 1.085 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Inline: time 0.004061/0.4019, allocations: 2.079 MB / 1.087 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.564e-05/0.402, allocations: 54.25 kB / 1.087 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003367/0.4023, allocations: 0.4896 MB / 1.088 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Causalize: time 0.006672/0.409, allocations: 5.721 MB / 1.093 GB, free: 10 MB / 0.8419 GB Notification: Performance of Tearing: time 2.201e-05/0.409, allocations: 4.078 kB / 1.093 GB, free: 10 MB / 0.8419 GB Notification: Performance of Initialization: time 5.81e-07/0.409, allocations: 0.5 kB / 1.093 GB, free: 10 MB / 0.8419 GB Notification: Performance of Tearing: time 6.161e-06/0.409, allocations: 1 kB / 1.093 GB, free: 10 MB / 0.8419 GB Notification: Performance of Categorize: time 1.252e-05/0.4091, allocations: 3.438 kB / 1.093 GB, free: 10 MB / 0.8419 GB Notification: Performance of Solve: time 0.0006157/0.4097, allocations: 344.7 kB / 1.094 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0004985/0.4102, allocations: 0.5641 MB / 1.094 GB, free: 9.504 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.nextTimeEvent, TSouOut.nextTimeEventScaled, TMixandTSouIn.nextTimeEvent, TMixandTSouIn.nextTimeEventScaled} * 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 5.541e-05/0.4102, allocations: 77.31 kB / 1.094 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of SimCode: time 0.003658/0.4139, allocations: 3.994 MB / 1.098 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of Templates: time 0.01102/0.4249, allocations: 6.682 MB / 1.105 GB, free: 6.949 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.sim & ./Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Controls_Examples_MainPump1PipeExample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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