Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.00147/0.00147, allocations: 101.3 kB / 19.72 MB, free: 2.121 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.002156/0.002156, allocations: 208.9 kB / 23 MB, free: 4.938 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.511/3.511, allocations: 0.49 GB / 0.7958 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.528e-05/4.528e-05, allocations: 2.281 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.01173/0.01177, allocations: 3.507 MB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004474/0.01625, allocations: 1.295 MB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.01738, allocations: 21.47 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.01815, allocations: 135.6 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009369/0.01908, allocations: 123 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.02051, allocations: 362.1 kB / 1.16 GB, free: 21.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.02278, allocations: 1.131 MB / 1.161 GB, free: 20.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.02404, allocations: 377.8 kB / 1.162 GB, free: 20.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008334/0.02488, allocations: 378.8 kB / 1.162 GB, free: 20.44 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.02569, allocations: 398.3 kB / 1.162 GB, free: 20.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.02616, allocations: 122.1 kB / 1.163 GB, free: 20.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.02662, allocations: 120.5 kB / 1.163 GB, free: 20.2 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.001992/0.02861, allocations: 1.678 MB / 1.164 GB, free: 18.96 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.001093/0.02971, allocations: 1.045 MB / 1.165 GB, free: 18.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.03019, allocations: 49.03 kB / 1.165 GB, free: 18.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0003381/0.03052, allocations: 63.08 kB / 1.165 GB, free: 18.17 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: 179 (179) * Number of variables: 179 (179) Notification: Performance of [SIM] Bindings: time 0.005603/0.03613, allocations: 3.914 MB / 1.169 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006871/0.03681, allocations: 477.8 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.003167/0.03998, allocations: 2.188 MB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.00123/0.04121, allocations: 457.4 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.008454/0.04966, allocations: 4.223 MB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0007009/0.05037, allocations: 309.3 kB / 1.177 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003177/0.05068, allocations: 206.3 kB / 1.177 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0008058/0.05149, allocations: 439.6 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003595/0.05185, allocations: 126.2 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0009889/0.05284, allocations: 0.5416 MB / 1.178 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001916/0.05475, allocations: 1.032 MB / 1.179 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001346/0.0561, allocations: 1.186 MB / 1.18 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.00271/0.05881, allocations: 1.397 MB / 1.182 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.002254/0.06106, allocations: 1.969 MB / 1.183 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.0001439/0.06121, allocations: 58.52 kB / 1.184 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000529/0.06174, allocations: 0.5189 MB / 1.184 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.008389/0.07013, allocations: 4.731 MB / 1.189 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0001186/0.07024, allocations: 151.2 kB / 1.189 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.714e-06/0.07025, allocations: 0 / 1.189 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.973e-05/0.07027, allocations: 1.688 kB / 1.189 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.139e-05/0.07029, allocations: 37.06 kB / 1.189 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 2.368e-05/0.07031, allocations: 2.406 kB / 1.189 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.002076/0.07239, allocations: 1.179 MB / 1.19 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0006365/0.07302, allocations: 0.5102 MB / 1.19 GB, free: 4.098 MB / 0.9044 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: ......... 0 * 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: ............................. 3 (3) {conMix.conHea.addPID.u2, conMix.conCoo.addPID.u2, conMix.conFloRat.addPID.u2} * Number of discrete states: .................... 4 (4) {m_flow.T_start, m_flow.count, TRoo.T_start, TRoo.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 10 (10) {$SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ............ 4 (algorithm:0, when:4, 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: ........... 148 (scalar:148, 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: ........... 148 (scalar:148, 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.0001009/0.07312, allocations: 77.77 kB / 1.191 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of SimCode: time 0.004326/0.07745, allocations: 3.11 MB / 1.194 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of Templates: time 0.01789/0.09534, allocations: 6.825 MB / 1.2 GB, free: 1.883 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,conMix.TRoo,conMix.TRooSetHea,conMix.TRooSetCoo,conMix.yHot,conMix.yCol,m_flow.y Variables in the result:TC.k,TC.y,TH.k,TH.y,TRoo.T_falling,TRoo.T_rising,TRoo.T_width,TRoo.amplitude,TRoo.falling,TRoo.nperiod,TRoo.offset,TRoo.period,TRoo.rising,TRoo.startTime,TRoo.width,TRoo.y,conMix.TRoo,conMix.TRooSetCoo,conMix.TRooSetHea,conMix.conCoo.I.k,conMix.conCoo.I.trigger,conMix.conCoo.I.y_reset_in,conMix.conCoo.I.y_start,conMix.conCoo.Nd,conMix.conCoo.Ni,conMix.conCoo.P.k,conMix.conCoo.Td,conMix.conCoo.Ti,conMix.conCoo.addPD.u2,conMix.conCoo.antWinGai.k,conMix.conCoo.assMesYMinMax.u,conMix.conCoo.cheYMinMax.k,conMix.conCoo.cheYMinMax.y,conMix.conCoo.con.k,conMix.conCoo.con.y,conMix.conCoo.con1.k,conMix.conCoo.con1.y,conMix.conCoo.controlError.u1,conMix.conCoo.controllerType,conMix.conCoo.k,conMix.conCoo.lim.uMax,conMix.conCoo.lim.uMin,conMix.conCoo.r,conMix.conCoo.revAct,conMix.conCoo.reverseActing,conMix.conCoo.uMea_revAct.k,conMix.conCoo.uS_revAct.k,conMix.conCoo.uS_revAct.u,conMix.conCoo.u_s,conMix.conCoo.xi_start,conMix.conCoo.yMax,conMix.conCoo.yMin,conMix.conCoo.yd_start,conMix.conFloRat.I.k,conMix.conFloRat.I.trigger,conMix.conFloRat.I.y_reset_in,conMix.conFloRat.I.y_start,conMix.conFloRat.Nd,conMix.conFloRat.Ni,conMix.conFloRat.P.k,conMix.conFloRat.Td,conMix.conFloRat.Ti,conMix.conFloRat.addPD.u2,conMix.conFloRat.antWinGai.k,conMix.conFloRat.assMesYMinMax.u,conMix.conFloRat.cheYMinMax.k,conMix.conFloRat.cheYMinMax.y,conMix.conFloRat.con.k,conMix.conFloRat.con.y,conMix.conFloRat.con1.k,conMix.conFloRat.con1.y,conMix.conFloRat.controlError.u1,conMix.conFloRat.controllerType,conMix.conFloRat.k,conMix.conFloRat.lim.uMax,conMix.conFloRat.lim.uMin,conMix.conFloRat.r,conMix.conFloRat.revAct,conMix.conFloRat.reverseActing,conMix.conFloRat.uMea_revAct.k,conMix.conFloRat.uS_revAct.k,conMix.conFloRat.uS_revAct.u,conMix.conFloRat.u_s,conMix.conFloRat.xi_start,conMix.conFloRat.yMax,conMix.conFloRat.yMin,conMix.conFloRat.yd_start,conMix.conHea.I.k,conMix.conHea.I.trigger,conMix.conHea.I.y_reset_in,conMix.conHea.I.y_start,conMix.conHea.Nd,conMix.conHea.Ni,conMix.conHea.P.k,conMix.conHea.Td,conMix.conHea.Ti,conMix.conHea.addPD.u2,conMix.conHea.antWinGai.k,conMix.conHea.assMesYMinMax.u,conMix.conHea.cheYMinMax.k,conMix.conHea.cheYMinMax.y,conMix.conHea.con.k,conMix.conHea.con.y,conMix.conHea.con1.k,conMix.conHea.con1.y,conMix.conHea.controlError.u1,conMix.conHea.controllerType,conMix.conHea.k,conMix.conHea.lim.uMax,conMix.conHea.lim.uMin,conMix.conHea.r,conMix.conHea.revAct,conMix.conHea.reverseActing,conMix.conHea.uMea_revAct.k,conMix.conHea.uS_revAct.k,conMix.conHea.uS_revAct.u,conMix.conHea.u_s,conMix.conHea.xi_start,conMix.conHea.yMax,conMix.conHea.yMin,conMix.conHea.yd_start,conMix.dTRooHea.u2,conMix.dTSet.u1,conMix.dTSet.u2,conMix.gaiCoo.uMax,conMix.gaiCoo.uMin,conMix.mAirSet.k,conMix.mAirSet.y,conMix.m_flow_min,conMix.swiCoo.u2,conMix.swiCoo.u3,conMix.swiHot.u2,conMix.swiHot.u3,conMix.yCol,conMix.yFan,conMix.yHot,conMix.zer.k,conMix.zer.y,m_flow.T_falling,m_flow.T_rising,m_flow.T_width,m_flow.amplitude,m_flow.falling,m_flow.nperiod,m_flow.offset,m_flow.period,m_flow.rising,m_flow.startTime,m_flow.width,m_flow.y,time,yFan.k,yFan.y [Calling sys.exit(0), Time elapsed: 9.78480795584619]