Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.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.AgentPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|AgentPump.TSouIn|AgentPump.TSouOut|AgentPump.TSou|AgentPump.TSupDis|AgentPump.TRetDis|AgentPump.y",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|AgentPump.TSouIn|AgentPump.TSouOut|AgentPump.TSou|AgentPump.TSupDis|AgentPump.TRetDis|AgentPump.y",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 111.1 kB / 16.42 MB, free: 6.484 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.001058/0.001058, allocations: 186.1 kB / 17.36 MB, free: 5.699 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.121/1.121, 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.221/2.221, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.168e-05, allocations: 7.766 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample): time 0.003988/0.004007, allocations: 3.732 MB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.006269, allocations: 1.711 MB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.006505, allocations: 15.94 kB / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.007036, allocations: 286.4 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.007504, allocations: 250.6 kB / 1.072 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.008189, allocations: 465 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.00903, allocations: 1.024 MB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.00937, allocations: 225.2 kB / 1.073 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.009703, allocations: 354.5 kB / 1.074 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.009977, allocations: 350.3 kB / 1.074 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.01007, allocations: 76 kB / 1.074 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.01023, allocations: 124 kB / 1.074 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006312/0.01087, allocations: 1.115 MB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003995/0.01127, allocations: 0.7271 MB / 1.076 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.01137, allocations: 115.6 kB / 1.076 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.9e-05/0.01145, allocations: 39.69 kB / 1.076 GB, free: 3.027 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: 110 (110) * Number of variables: 110 (110) Notification: Performance of Bindings: time 0.001832/0.01329, allocations: 2.369 MB / 1.078 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001452/0.01344, allocations: 148 kB / 1.079 GB, free: 380 kB / 0.8419 GB Notification: Performance of Early Inline: time 0.3637/0.3772, allocations: 0.9034 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003358/0.3775, allocations: 175.4 kB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of Alias: time 0.002241/0.3798, allocations: 2.005 MB / 1.082 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simplify2: time 9.731e-05/0.3799, allocations: 114 kB / 1.082 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002335/0.3801, allocations: 241.6 kB / 1.082 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of Events: time 0.0002212/0.3804, allocations: 210.9 kB / 1.082 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002444/0.3806, allocations: 263.4 kB / 1.082 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001056/0.3817, allocations: 0.9868 MB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0005141/0.3822, allocations: 0.6564 MB / 1.084 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of Inline: time 0.00388/0.3861, allocations: 2.01 MB / 1.086 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.408e-05/0.3862, allocations: 56.59 kB / 1.086 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003023/0.3865, allocations: 470.4 kB / 1.086 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Causalize: time 0.006656/0.3931, allocations: 5.846 MB / 1.092 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Tearing: time 1.977e-05/0.3932, allocations: 1.469 kB / 1.092 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Initialization: time 8.71e-07/0.3932, allocations: 0 / 1.092 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Tearing: time 7.034e-06/0.3932, allocations: 4.891 kB / 1.092 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Categorize: time 1.309e-05/0.3932, allocations: 2.219 kB / 1.092 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Solve: time 0.0005734/0.3938, allocations: 326.3 kB / 1.092 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.745e-06/0.3938, allocations: 4.844 kB / 1.092 GB, free: 10.71 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: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 6 (6) {TretDis.nextTimeEvent, TretDis.nextTimeEventScaled, TSouOut.nextTimeEvent, TSouOut.nextTimeEventScaled, TSouIn.nextTimeEvent, TSouIn.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 23 (23) {AgentPump.swi.u2, AgentPump.hys.y, AgentPump.hys1.y, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $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: ........... 53 (scalar:53, 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 (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: ........... 146 (scalar:140, array:3, 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: ........... 146 (scalar:140, array:3, 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.43e-05/0.3939, allocations: 83.34 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of SimCode: time 0.003282/0.3971, allocations: 3.534 MB / 1.096 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of Templates: time 0.0104/0.4076, allocations: 6.478 MB / 1.102 GB, free: 8.332 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.sim & ./Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Controls_Examples_AgentPump1PipeExample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,AgentPump.TSouIn,AgentPump.TSouOut,AgentPump.TSou,AgentPump.TSupDis,AgentPump.TRetDis,AgentPump.y Variables in the result:AgentPump.NetDemBool.h,AgentPump.NetDemBool.have_hysteresis,AgentPump.NetDemBool.lesHys.h,AgentPump.NetDemBool.lesHys.pre_y_start,AgentPump.NetDemBool.lesHys.u2,AgentPump.NetDemBool.pre_y_start,AgentPump.NetDemBool.u2,AgentPump.TRetDis,AgentPump.TSou,AgentPump.TSouIn,AgentPump.TSouOut,AgentPump.TSupDis,AgentPump.Td,AgentPump.Ti,AgentPump.Tsou_negshift.p,AgentPump.Tsou_negshift.u,AgentPump.Tsou_negshift.y,AgentPump.Tsou_posshift.p,AgentPump.Tsou_posshift.u,AgentPump.Tsou_posshift.y,AgentPump.Zero.k,AgentPump.Zero.y,AgentPump.conPIDCoo.Izero.k,AgentPump.conPIDCoo.Izero.y,AgentPump.conPIDCoo.Nd,AgentPump.conPIDCoo.Ni,AgentPump.conPIDCoo.P.k,AgentPump.conPIDCoo.Td,AgentPump.conPIDCoo.Ti,AgentPump.conPIDCoo.addPD.u2,AgentPump.conPIDCoo.addPID.u2,AgentPump.conPIDCoo.assMesYMinMax.u,AgentPump.conPIDCoo.cheYMinMax.k,AgentPump.conPIDCoo.cheYMinMax.y,AgentPump.conPIDCoo.controlError.u1,AgentPump.conPIDCoo.controllerType,AgentPump.conPIDCoo.k,AgentPump.conPIDCoo.lim.uMax,AgentPump.conPIDCoo.lim.uMin,AgentPump.conPIDCoo.r,AgentPump.conPIDCoo.revAct,AgentPump.conPIDCoo.reverseActing,AgentPump.conPIDCoo.uMea_revAct.k,AgentPump.conPIDCoo.uMea_revAct.u,AgentPump.conPIDCoo.uS_revAct.k,AgentPump.conPIDCoo.uS_revAct.u,AgentPump.conPIDCoo.u_s,AgentPump.conPIDCoo.xi_start,AgentPump.conPIDCoo.yMax,AgentPump.conPIDCoo.yMin,AgentPump.conPIDCoo.yd_start,AgentPump.conPIDHea.Izero.k,AgentPump.conPIDHea.Izero.y,AgentPump.conPIDHea.Nd,AgentPump.conPIDHea.Ni,AgentPump.conPIDHea.P.k,AgentPump.conPIDHea.Td,AgentPump.conPIDHea.Ti,AgentPump.conPIDHea.addPD.u2,AgentPump.conPIDHea.addPID.u2,AgentPump.conPIDHea.assMesYMinMax.u,AgentPump.conPIDHea.cheYMinMax.k,AgentPump.conPIDHea.cheYMinMax.y,AgentPump.conPIDHea.controlError.u1,AgentPump.conPIDHea.controllerType,AgentPump.conPIDHea.k,AgentPump.conPIDHea.lim.uMax,AgentPump.conPIDHea.lim.uMin,AgentPump.conPIDHea.r,AgentPump.conPIDHea.revAct,AgentPump.conPIDHea.reverseActing,AgentPump.conPIDHea.uMea_revAct.k,AgentPump.conPIDHea.uS_revAct.k,AgentPump.conPIDHea.uS_revAct.u,AgentPump.conPIDHea.u_s,AgentPump.conPIDHea.xi_start,AgentPump.conPIDHea.yMax,AgentPump.conPIDHea.yMin,AgentPump.conPIDHea.yd_start,AgentPump.controllerType,AgentPump.dTSouSup.u1,AgentPump.dTSouSupCoo.p,AgentPump.dTSouSupHea.p,AgentPump.dToff,AgentPump.gai1.k,AgentPump.h,AgentPump.hys.pre_y_start,AgentPump.hys.uHigh,AgentPump.hys.uLow,AgentPump.hys1.pre_y_start,AgentPump.hys1.uHigh,AgentPump.hys1.uLow,AgentPump.k,AgentPump.swi.y,AgentPump.swi1.u3,AgentPump.swi2.u3,AgentPump.uHighCoo,AgentPump.uHighHea,AgentPump.uLowCoo,AgentPump.uLowHea,AgentPump.y,AgentPump.yPumMax,AgentPump.yPumMin,TSou,TSouIn.columns[1],TSouIn.extrapolation,TSouIn.nout,TSouIn.offset[1],TSouIn.p_offset[1],TSouIn.shiftTime,TSouIn.smoothness,TSouIn.startTime,TSouIn.t_max,TSouIn.t_maxScaled,TSouIn.t_min,TSouIn.t_minScaled,TSouIn.tableOnFile,TSouIn.table[1,1],TSouIn.table[1,2],TSouIn.table[2,1],TSouIn.table[2,2],TSouIn.table[3,1],TSouIn.table[3,2],TSouIn.table[4,1],TSouIn.table[4,2],TSouIn.timeEvents,TSouIn.timeScale,TSouIn.timeScaled,TSouIn.verboseExtrapolation,TSouIn.verboseRead,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,TretDis.columns[1],TretDis.extrapolation,TretDis.nout,TretDis.offset[1],TretDis.p_offset[1],TretDis.shiftTime,TretDis.smoothness,TretDis.startTime,TretDis.t_max,TretDis.t_maxScaled,TretDis.t_min,TretDis.t_minScaled,TretDis.tableOnFile,TretDis.table[1,1],TretDis.table[1,2],TretDis.table[2,1],TretDis.table[2,2],TretDis.table[3,1],TretDis.table[3,2],TretDis.table[4,1],TretDis.table[4,2],TretDis.timeEvents,TretDis.timeScale,TretDis.timeScaled,TretDis.verboseExtrapolation,TretDis.verboseRead,TsupDis.k,TsupDis.y,con2.k,con2.y,time