Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 103.8 kB / 16.42 MB, free: 6.527 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.002063/0.002064, allocations: 190 kB / 17.36 MB, free: 5.727 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.336e-05, allocations: 8.469 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004733/0.004766, allocations: 3.918 MB / 0.9553 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.007022, allocations: 1.301 MB / 0.9565 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.007348, allocations: 19.88 kB / 0.9565 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.007705, allocations: 130.6 kB / 0.9567 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.008007, allocations: 122.8 kB / 0.9568 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.008583, allocations: 359.5 kB / 0.9571 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000956/0.009585, allocations: 1.135 MB / 0.9582 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006969/0.01029, allocations: 0.5631 MB / 0.9588 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.01066, allocations: 370.6 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.01099, allocations: 406 kB / 0.9595 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.01112, allocations: 120 kB / 0.9596 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.01124, allocations: 123.9 kB / 0.9598 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0008012/0.01205, allocations: 1.32 MB / 0.9611 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0004178/0.01248, allocations: 0.827 MB / 0.9619 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.01262, allocations: 139.5 kB / 0.962 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001553/0.01278, allocations: 71.36 kB / 0.9621 GB, free: 12.77 MB / 0.7481 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 Bindings: time 0.003893/0.01668, allocations: 4.198 MB / 0.9662 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0001529/0.01685, allocations: 179.8 kB / 0.9663 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.002012/0.01886, allocations: 2.221 MB / 0.9685 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of simplify1: time 0.0001591/0.01903, allocations: 151.8 kB / 0.9686 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of Alias: time 0.005428/0.02447, allocations: 5.081 MB / 0.9736 GB, free: 196 kB / 0.7481 GB Notification: Performance of simplify2: time 0.0001141/0.02461, allocations: 91.8 kB / 0.9737 GB, free: 104 kB / 0.7481 GB Notification: Performance of Detect States: time 0.0004524/0.02507, allocations: 438.1 kB / 0.9741 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of Events: time 0.0003817/0.02546, allocations: 283.9 kB / 0.9744 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0005398/0.02601, allocations: 0.5373 MB / 0.9749 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of Causalize: time 0.002166/0.02818, allocations: 2.001 MB / 0.9769 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of After Index Reduction Inline: time 0.001158/0.02936, allocations: 1.345 MB / 0.9782 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of Inline: time 0.002881/0.03225, allocations: 2.952 MB / 0.9811 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0002084/0.03247, allocations: 175.6 kB / 0.9812 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of Cleanup: time 0.0002781/0.03275, allocations: 307.6 kB / 0.9815 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of Causalize: time 0.009609/0.04237, allocations: 8.398 MB / 0.9897 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Tearing: time 2.78e-05/0.04243, allocations: 0 / 0.9897 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Initialization: time 9.92e-07/0.04244, allocations: 0 / 0.9897 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Tearing: time 1.175e-05/0.04245, allocations: 7.938 kB / 0.9897 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of Categorize: time 2.483e-05/0.04248, allocations: 4 kB / 0.9897 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of Solve: time 0.0008652/0.04335, allocations: 0.4887 MB / 0.9902 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Jacobian: time 0.0007348/0.0441, allocations: 0.7446 MB / 0.9909 GB, free: 14.06 MB / 0.7794 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: ......... 4 * 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.count, TRoo.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 22 (22) {$SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $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} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 73 (scalar:73, 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 (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: ........... 160 (scalar:160, 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 (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: ........... 160 (scalar:160, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.421e-05/0.0442, allocations: 73.22 kB / 0.991 GB, free: 14 MB / 0.7794 GB Notification: Performance of SimCode: time 0.003075/0.04728, allocations: 3.746 MB / 0.9947 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.01137/0.05867, allocations: 6.64 MB / 1.001 GB, free: 3.543 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.swiHot.y,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