Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.00137/0.00137, allocations: 100.4 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.001615/0.001615, allocations: 209 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.41/3.41, allocations: 0.49 GB / 0.7958 GB, free: 35.33 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.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.655e-05, allocations: 4.391 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00475/0.004777, allocations: 2.782 MB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003049/0.007826, allocations: 1.106 MB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.008216, allocations: 18.25 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.008571, allocations: 78.88 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.008827, allocations: 85.52 kB / 1.159 GB, free: 22.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.01002, allocations: 354.4 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.0112, allocations: 0.8247 MB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.01203, allocations: 447.5 kB / 1.161 GB, free: 21.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.01251, allocations: 310.2 kB / 1.161 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.01295, allocations: 270.6 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.01311, allocations: 72.72 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.01333, allocations: 76.73 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0009513/0.01428, allocations: 1.055 MB / 1.162 GB, free: 20.53 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0005468/0.01483, allocations: 0.6473 MB / 1.163 GB, free: 20.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.01494, allocations: 31.75 kB / 1.163 GB, free: 20.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0002337/0.01517, allocations: 59.23 kB / 1.163 GB, free: 20.04 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: 113 (113) * Number of variables: 113 (113) Notification: Performance of [SIM] Bindings: time 0.002814/0.01799, allocations: 2.432 MB / 1.165 GB, free: 18.29 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004456/0.01843, allocations: 338.7 kB / 1.166 GB, free: 18.07 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001624/0.02005, allocations: 1.493 MB / 1.167 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005535/0.02061, allocations: 295 kB / 1.167 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003709/0.02432, allocations: 2.406 MB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003975/0.02471, allocations: 214.2 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001797/0.02489, allocations: 143.3 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005433/0.02544, allocations: 398.9 kB / 1.17 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002365/0.02567, allocations: 145.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005535/0.02623, allocations: 452.2 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001411/0.02764, allocations: 0.9664 MB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008895/0.02853, allocations: 0.9369 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.00123/0.02976, allocations: 0.7215 MB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001319/0.03108, allocations: 1.365 MB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.686e-05/0.03116, allocations: 40.83 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002025/0.03137, allocations: 238 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.003903/0.03527, allocations: 2.579 MB / 1.178 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 3.791e-05/0.03531, allocations: 58.25 kB / 1.178 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.302e-06/0.03531, allocations: 0 / 1.178 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.679e-05/0.03533, allocations: 1.562 kB / 1.178 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.798e-05/0.03534, allocations: 33.16 kB / 1.178 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 2.102e-05/0.03536, allocations: 2.156 kB / 1.178 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0009684/0.03633, allocations: 0.6468 MB / 1.178 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0005398/0.03687, allocations: 480.1 kB / 1.179 GB, free: 10.95 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {preHeatCoil.preHeaCoiCon.I.y} * Number of discrete states: .................... 3 (3) {preHeatCoil.toOff.t_start, TMix.T_start, TMix.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 42 (42) {preHeatCoil.preHeaOn.y, preHeatCoil.pumOff.active, preHeatCoil.pumOff.localActive, preHeatCoil.pumOff.inPort.occupied, preHeatCoil.pumOff.inPort.set, preHeatCoil.pumOff.outPort.available, preHeatCoil.pumOff.outPort.reset, preHeatCoil.pumOff.newActive, preHeatCoil.toOn.localCondition, preHeatCoil.toOn.enableFire, preHeatCoil.toOn.fire, preHeatCoil.toOn.inPort.available, preHeatCoil.toOn.outPort.occupied, preHeatCoil.stateGraphRoot.activeSteps, preHeatCoil.pumOn.localActive, preHeatCoil.pumOn.inPort.occupied, preHeatCoil.pumOn.inPort.set, preHeatCoil.pumOn.outPort.available, preHeatCoil.pumOn.outPort.reset, preHeatCoil.pumOn.newActive, preHeatCoil.toOff.enableFire, preHeatCoil.toOff.fire, preHeatCoil.toOff.inPort.available, preHeatCoil.toOff.outPort.occupied, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $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_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: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 103 (scalar:103, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.0001547/0.03703, allocations: 72.98 kB / 1.179 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002565/0.03959, allocations: 1.7 MB / 1.181 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.01203/0.05162, allocations: 4.273 MB / 1.185 GB, free: 9.594 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,preHeatCoil.TAirSup,preHeatCoil.TSupSetHea,preHeatCoil.TMix,preHeatCoil.yPum,preHeatCoil.yVal Variables in the result:TAirSup.k,TAirSup.y,TMix.T_falling,TMix.T_rising,TMix.T_width,TMix.amplitude,TMix.falling,TMix.nperiod,TMix.offset,TMix.period,TMix.rising,TMix.startTime,TMix.width,TMix.y,TSupSet.k,TSupSet.y,preHeatCoil.TAirSup,preHeatCoil.TMix,preHeatCoil.TPreHeaOn.k,preHeatCoil.TPreHeaOn.y,preHeatCoil.TSupSetHea,preHeatCoil.one.k,preHeatCoil.one.y,preHeatCoil.preHeaCoiCon.I.initType,preHeatCoil.preHeaCoiCon.I.k,preHeatCoil.preHeaCoiCon.I.reset,preHeatCoil.preHeaCoiCon.I.trigger_internal,preHeatCoil.preHeaCoiCon.I.y_reset,preHeatCoil.preHeaCoiCon.I.y_reset_internal,preHeatCoil.preHeaCoiCon.I.y_start,preHeatCoil.preHeaCoiCon.Nd,preHeatCoil.preHeaCoiCon.Ni,preHeatCoil.preHeaCoiCon.P.k,preHeatCoil.preHeaCoiCon.Td,preHeatCoil.preHeaCoiCon.Ti,preHeatCoil.preHeaCoiCon.addI.k1,preHeatCoil.preHeaCoiCon.addI.k2,preHeatCoil.preHeaCoiCon.addI.k3,preHeatCoil.preHeaCoiCon.addI.u1,preHeatCoil.preHeaCoiCon.addI.u2,preHeatCoil.preHeaCoiCon.addP.k1,preHeatCoil.preHeaCoiCon.addP.k2,preHeatCoil.preHeaCoiCon.addP.u1,preHeatCoil.preHeaCoiCon.addP.u2,preHeatCoil.preHeaCoiCon.addPID.k1,preHeatCoil.preHeaCoiCon.addPID.k2,preHeatCoil.preHeaCoiCon.addPID.k3,preHeatCoil.preHeaCoiCon.addPID.u2,preHeatCoil.preHeaCoiCon.addSat.k1,preHeatCoil.preHeaCoiCon.addSat.k2,preHeatCoil.preHeaCoiCon.controllerType,preHeatCoil.preHeaCoiCon.gainPID.k,preHeatCoil.preHeaCoiCon.gainTrack.k,preHeatCoil.preHeaCoiCon.initType,preHeatCoil.preHeaCoiCon.k,preHeatCoil.preHeaCoiCon.limiter.limitsAtInit,preHeatCoil.preHeaCoiCon.limiter.strict,preHeatCoil.preHeaCoiCon.limiter.uMax,preHeatCoil.preHeaCoiCon.limiter.uMin,preHeatCoil.preHeaCoiCon.reset,preHeatCoil.preHeaCoiCon.revAct,preHeatCoil.preHeaCoiCon.reverseActing,preHeatCoil.preHeaCoiCon.strict,preHeatCoil.preHeaCoiCon.u_m,preHeatCoil.preHeaCoiCon.u_s,preHeatCoil.preHeaCoiCon.wd,preHeatCoil.preHeaCoiCon.wp,preHeatCoil.preHeaCoiCon.xd_start,preHeatCoil.preHeaCoiCon.xi_start,preHeatCoil.preHeaCoiCon.yMax,preHeatCoil.preHeaCoiCon.yMin,preHeatCoil.preHeaCoiCon.y_reset,preHeatCoil.preHeaCoiCon.y_reset_internal,preHeatCoil.preHeaCoiCon.y_start,preHeatCoil.preHeaOn.bandwidth,preHeatCoil.preHeaOn.pre_y_start,preHeatCoil.preHeaOn.reference,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.outerStatePort.subgraphStatePort.resume,preHeatCoil.pumOff.outerStatePort.subgraphStatePort.suspend,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.outerStatePort.subgraphStatePort.resume,preHeatCoil.pumOn.outerStatePort.subgraphStatePort.suspend,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.subgraphStatePort.resume,preHeatCoil.stateGraphRoot.subgraphStatePort.suspend,preHeatCoil.stateGraphRoot.suspend,preHeatCoil.swiPumPreCoi.u1,preHeatCoil.swiPumPreCoi.u3,preHeatCoil.swiValOp.u3,preHeatCoil.toOff.enableTimer,preHeatCoil.toOff.waitTime,preHeatCoil.toOn.enableTimer,preHeatCoil.toOn.t,preHeatCoil.toOn.t_dummy,preHeatCoil.toOn.t_start,preHeatCoil.toOn.waitTime,preHeatCoil.yPum,preHeatCoil.yVal,preHeatCoil.zero.k,preHeatCoil.zero.y,time [Calling sys.exit(0), Time elapsed: 9.53766060108319]