Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 96.42 kB / 19.71 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 210.4 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.282/1.282, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.753/2.753, allocations: 0.49 GB / 0.7958 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.515e-05, allocations: 6.219 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers): time 0.003476/0.003491, allocations: 3.058 MB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.005937, allocations: 2.263 MB / 1.16 GB, free: 21.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.006254, allocations: 30.25 kB / 1.16 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.006564, allocations: 168 kB / 1.16 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.006846, allocations: 158.3 kB / 1.161 GB, free: 21.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.007769, allocations: 0.6365 MB / 1.161 GB, free: 20.87 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.008788, allocations: 1.544 MB / 1.163 GB, free: 20.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.00942, allocations: 0.5152 MB / 1.163 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.009867, allocations: 0.5351 MB / 1.164 GB, free: 19.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.01022, allocations: 0.5306 MB / 1.164 GB, free: 19.09 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.0104, allocations: 153.4 kB / 1.164 GB, free: 19.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.01062, allocations: 170.2 kB / 1.165 GB, free: 19.09 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0008964/0.01151, allocations: 2.207 MB / 1.167 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0004275/0.01194, allocations: 1.363 MB / 1.168 GB, free: 16.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.01207, allocations: 76.81 kB / 1.168 GB, free: 16.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001217/0.01219, allocations: 78.52 kB / 1.168 GB, free: 16.44 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 (246) * Number of variables: 246 (246) Notification: Performance of [SIM] Bindings: time 0.003129/0.01532, allocations: 5.066 MB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003885/0.0157, allocations: 0.5888 MB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.002505/0.01821, allocations: 3.463 MB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0008614/0.01907, allocations: 0.684 MB / 1.178 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.005679/0.02475, allocations: 5.668 MB / 1.183 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0005108/0.02526, allocations: 0.49 MB / 1.184 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002796/0.02554, allocations: 340.5 kB / 1.184 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005545/0.02609, allocations: 0.6315 MB / 1.185 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002747/0.02637, allocations: 233.2 kB / 1.185 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0006587/0.02703, allocations: 0.7032 MB / 1.186 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00168/0.02871, allocations: 1.454 MB / 1.187 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001266/0.02997, allocations: 1.732 MB / 1.189 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002023/0.032, allocations: 1.67 MB / 1.19 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.002297/0.03429, allocations: 3.075 MB / 1.193 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.000124/0.03442, allocations: 65.88 kB / 1.193 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0005264/0.03494, allocations: 0.7084 MB / 1.194 GB, free: 420 kB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00714/0.04208, allocations: 5.86 MB / 1.2 GB, free: 15 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.0001271/0.04221, allocations: 192.6 kB / 1.2 GB, free: 14.86 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 1.162e-06/0.04221, allocations: 1.25 kB / 1.2 GB, free: 14.86 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 1.276e-05/0.04223, allocations: 1 kB / 1.2 GB, free: 14.86 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 2.805e-05/0.04225, allocations: 53.41 kB / 1.2 GB, free: 14.82 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 1.701e-05/0.04227, allocations: 4.234 kB / 1.2 GB, free: 14.82 MB / 0.92 GB Notification: Performance of [SIM] Solve: time 0.001686/0.04396, allocations: 1.234 MB / 1.201 GB, free: 14.3 MB / 0.92 GB Notification: Performance of [SIM] Jacobian: time 0.0006932/0.04465, allocations: 0.6255 MB / 1.202 GB, free: 13.89 MB / 0.92 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: ............................. 2 (2) {dam1.conCooDam.addPID.u2, dam1.conHeaDam.addPID.u2} * Number of discrete states: .................... 2 (2) {heaAhu.y, cooAhu.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 34 (34) {dam1.and4.u1, dam1.and4.u2, dam1.and4.y, dam1.greThr1.greHys.y, dam1.greThr.greHys.y, dam1.or2.u2, dam1.greThr2.greHys.y, dam1.not1.u, dam1.greThr3.greHys.y, dam1.and1.u1, dam1.and1.y, dam1.or1.y, $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_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $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: ........... 95 (scalar:95, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 188 (scalar:188, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: ........... 188 (scalar:188, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 0.0001057/0.04476, allocations: 108.2 kB / 1.202 GB, free: 13.8 MB / 0.92 GB Notification: Performance of SimCode: time 0.004342/0.0491, allocations: 4.096 MB / 1.206 GB, free: 12.12 MB / 0.92 GB Notification: Performance of Templates: time 0.01558/0.06468, allocations: 8.936 MB / 1.215 GB, free: 10.33 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,dam1.VActMin_flow,dam1.VActCooMax_flow,dam1.VActHeaMax_flow,dam1.TZon,dam1.TColSup,dam1.THotSup,dam1.uCoo,dam1.uHea,dam1.VColDucDis_flow_Set,dam1.VHotDucDis_flow_Set,dam1.VDis_flow_Set,dam1.yCooDam,dam1.yHeaDam Variables in the result:TCooSup.k,TCooSup.y,THeaSup.k,THeaSup.y,TZon.k,TZon.y,VActCooMax_flow.k,VActCooMax_flow.y,VActHeaMax_flow.k,VActHeaMax_flow.y,VActMin_flow.k,VActMin_flow.y,VColDuc.amplitude,VColDuc.freqHz,VColDuc.offset,VColDuc.phase,VColDuc.startTime,VHotDuc.amplitude,VHotDuc.freqHz,VHotDuc.offset,VHotDuc.phase,VHotDuc.startTime,cooAhu.period,cooAhu.shift,cooAhu.t0,cooAhu.t1,cooAhu.width,dam1.TColSup,dam1.THotSup,dam1.TZon,dam1.TdDam,dam1.TiDam,dam1.VActCooMax_flow,dam1.VActHeaMax_flow,dam1.VActMin_flow,dam1.VColDucDis_flow_Set,dam1.VCooMax_flow,dam1.VDis_flow_Set,dam1.VHeaMax_flow,dam1.VHotDucDis_flow_Set,dam1.booToRea1.realFalse,dam1.booToRea1.realTrue,dam1.booToRea2.realFalse,dam1.booToRea2.realTrue,dam1.conCooDam.I.k,dam1.conCooDam.I.y_start,dam1.conCooDam.Nd,dam1.conCooDam.Ni,dam1.conCooDam.P.k,dam1.conCooDam.Td,dam1.conCooDam.Ti,dam1.conCooDam.addPD.u2,dam1.conCooDam.addRes.u1,dam1.conCooDam.antWinGai.k,dam1.conCooDam.assMesYMinMax.u,dam1.conCooDam.cheYMinMax.k,dam1.conCooDam.cheYMinMax.y,dam1.conCooDam.controllerType,dam1.conCooDam.k,dam1.conCooDam.lim.uMax,dam1.conCooDam.lim.uMin,dam1.conCooDam.r,dam1.conCooDam.revAct,dam1.conCooDam.reverseActing,dam1.conCooDam.uMea_revAct.k,dam1.conCooDam.uS_revAct.k,dam1.conCooDam.xi_start,dam1.conCooDam.yMax,dam1.conCooDam.yMin,dam1.conCooDam.yResSig.k,dam1.conCooDam.yResSig.y,dam1.conCooDam.y_reset,dam1.conCooDam.yd_start,dam1.conHeaDam.I.k,dam1.conHeaDam.I.y_start,dam1.conHeaDam.Nd,dam1.conHeaDam.Ni,dam1.conHeaDam.P.k,dam1.conHeaDam.Td,dam1.conHeaDam.Ti,dam1.conHeaDam.addPD.u2,dam1.conHeaDam.addRes.u1,dam1.conHeaDam.antWinGai.k,dam1.conHeaDam.assMesYMinMax.u,dam1.conHeaDam.cheYMinMax.k,dam1.conHeaDam.cheYMinMax.y,dam1.conHeaDam.controllerType,dam1.conHeaDam.k,dam1.conHeaDam.lim.uMax,dam1.conHeaDam.lim.uMin,dam1.conHeaDam.r,dam1.conHeaDam.revAct,dam1.conHeaDam.reverseActing,dam1.conHeaDam.uMea_revAct.k,dam1.conHeaDam.uS_revAct.k,dam1.conHeaDam.xi_start,dam1.conHeaDam.yMax,dam1.conHeaDam.yMin,dam1.conHeaDam.yResSig.k,dam1.conHeaDam.yResSig.y,dam1.conHeaDam.y_reset,dam1.conHeaDam.yd_start,dam1.conOne.k,dam1.conOne.y,dam1.conOne1.k,dam1.conOne1.y,dam1.conZer.k,dam1.conZer.y,dam1.conZer1.k,dam1.conZer1.y,dam1.conZer3.k,dam1.conZer3.y,dam1.controllerTypeDam,dam1.cooDamPos.u1,dam1.cooMax1.k,dam1.cooMax1.y,dam1.dTHys,dam1.greThr.greHys.h,dam1.greThr.greHys.pre_y_start,dam1.greThr.greHys.t,dam1.greThr.h,dam1.greThr.have_hysteresis,dam1.greThr.pre_y_start,dam1.greThr.t,dam1.greThr1.greHys.h,dam1.greThr1.greHys.pre_y_start,dam1.greThr1.greHys.t,dam1.greThr1.h,dam1.greThr1.have_hysteresis,dam1.greThr1.pre_y_start,dam1.greThr1.t,dam1.greThr2.greHys.h,dam1.greThr2.greHys.pre_y_start,dam1.greThr2.greHys.t,dam1.greThr2.h,dam1.greThr2.have_hysteresis,dam1.greThr2.pre_y_start,dam1.greThr2.t,dam1.greThr3.greHys.h,dam1.greThr3.greHys.pre_y_start,dam1.greThr3.greHys.t,dam1.greThr3.h,dam1.greThr3.have_hysteresis,dam1.greThr3.pre_y_start,dam1.greThr3.t,dam1.heaDamPos.u3,dam1.heaMax1.k,dam1.heaMax1.y,dam1.iniDam,dam1.kDam,dam1.lin.f1,dam1.lin.f2,dam1.lin.limitAbove,dam1.lin.limitBelow,dam1.lin.x1,dam1.lin.x2,dam1.lin1.f1,dam1.lin1.f2,dam1.lin1.limitAbove,dam1.lin1.limitBelow,dam1.lin1.x1,dam1.lin1.x2,dam1.looHys,dam1.max1.u1,dam1.max2.u1,dam1.max2.u2,dam1.sub1.u1,dam1.sub1.u2,dam1.sub2.u1,dam1.sub2.u2,dam1.sub3.u1,dam1.swi1.u1,dam1.swi2.u1,dam1.swi3.u3,dam1.swi5.u1,dam1.uCoo,dam1.uHea,dam1.yCooDam,dam1.yHeaDam,heaAhu.period,heaAhu.shift,heaAhu.t0,heaAhu.t1,heaAhu.width,time,uCoo.duration,uCoo.height,uCoo.offset,uCoo.startTime,uCoo.y,uHea.duration,uHea.height,uHea.offset,uHea.startTime,uHea.y [Calling sys.exit(0), Time elapsed: 7.575102958828211]