Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.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.001439/0.001439, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001601/0.001601, allocations: 207.8 kB / 23 MB, free: 4.965 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.278/1.278, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.822/2.822, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.208e-05, allocations: 2.281 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.003031/0.003044, allocations: 2.482 MB / 1.157 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.005205, allocations: 2.048 MB / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.005445, allocations: 27.34 kB / 1.159 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.005704, allocations: 117.6 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.00592, allocations: 129.9 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.006814, allocations: 0.5726 MB / 1.16 GB, free: 21.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008562/0.00767, allocations: 1.239 MB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.008154, allocations: 382.4 kB / 1.162 GB, free: 20.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.008546, allocations: 453.1 kB / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.008841, allocations: 445.8 kB / 1.163 GB, free: 20.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.008982, allocations: 121 kB / 1.163 GB, free: 20.13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.00916, allocations: 141 kB / 1.163 GB, free: 20.12 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0007479/0.009908, allocations: 1.747 MB / 1.165 GB, free: 18.86 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003741/0.01028, allocations: 1.053 MB / 1.166 GB, free: 18.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.01038, allocations: 59.88 kB / 1.166 GB, free: 18.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.498e-05/0.01048, allocations: 60.78 kB / 1.166 GB, free: 18.07 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: 190 (190) * Number of variables: 190 (190) Notification: Performance of [SIM] Bindings: time 0.002573/0.01305, allocations: 3.951 MB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003149/0.01337, allocations: 473 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.002254/0.01562, allocations: 2.948 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0007242/0.01635, allocations: 0.6188 MB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.004467/0.02081, allocations: 4.424 MB / 1.178 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0004743/0.02129, allocations: 477.5 kB / 1.178 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002757/0.02156, allocations: 340.9 kB / 1.179 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005946/0.02216, allocations: 0.6668 MB / 1.179 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002974/0.02245, allocations: 253.2 kB / 1.18 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005951/0.02305, allocations: 0.6556 MB / 1.18 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00147/0.02452, allocations: 1.319 MB / 1.182 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001211/0.02573, allocations: 1.674 MB / 1.183 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001555/0.02729, allocations: 1.41 MB / 1.185 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.002006/0.02929, allocations: 2.721 MB / 1.187 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.0001054/0.0294, allocations: 60.12 kB / 1.187 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0006358/0.03003, allocations: 0.6483 MB / 1.188 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.009637/0.03967, allocations: 7.823 MB / 1.196 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.222e-05/0.03974, allocations: 165.4 kB / 1.196 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.443e-06/0.03974, allocations: 1.438 kB / 1.196 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.178e-05/0.03976, allocations: 1 kB / 1.196 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.688e-05/0.03977, allocations: 48.94 kB / 1.196 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.708e-05/0.03979, allocations: 3.047 kB / 1.196 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001285/0.04108, allocations: 1.077 MB / 1.197 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0005048/0.04158, allocations: 0.5759 MB / 1.197 GB, free: 1.762 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: ......... 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: ............................. 1 (1) {dam1.conCooDam.addPID.u2} * Number of discrete states: .................... 8 (8) {heaAhu.y, cooAhu.y, dam1.lat1.y, dam1.lat.y, dam1.samCoo.y, dam1.samCoo.firstTrigger, dam1.samHea.y, dam1.samHea.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 45 (45) {dam1.y1CooDam, dam1.y1HeaDam, dam1.conCooDam.trigger, dam1.greThr1.greHys.y, dam1.greThr2.greHys.y, dam1.or2.u1, dam1.or2.u2, dam1.falEdg.not_u, dam1.and2.u2, dam1.and2.y, dam1.and3.u1, dam1.and3.y, dam1.samHea.sampleTrigger, dam1.samCoo.sampleTrigger, dam1.greThr4.greHys.y, dam1.greThr5.greHys.y, dam1.lat.clr, dam1.cooDamPos.u2, dam1.heaDamPos.u2, $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, $TEV_10, $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: ........... 82 (scalar:82, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 154 (scalar:154, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, 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: ........... 154 (scalar:154, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, 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 7.366e-05/0.04165, allocations: 101.8 kB / 1.197 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of SimCode: time 0.003133/0.04479, allocations: 3.279 MB / 1.201 GB, free: 308 kB / 0.9044 GB Notification: Performance of Templates: time 0.01407/0.05885, allocations: 8.091 MB / 1.209 GB, free: 15.47 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersSingleSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.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.uCoo,dam1.uHea,dam1.VDis_flow_Set,dam1.yCooDam,dam1.yHeaDam Variables in the result:VActCooMax_flow.k,VActCooMax_flow.y,VActHeaMax_flow.k,VActHeaMax_flow.y,VActMin_flow.k,VActMin_flow.y,VDis.amplitude,VDis.freqHz,VDis.offset,VDis.phase,VDis.startTime,cooAhu.period,cooAhu.shift,cooAhu.t0,cooAhu.t1,cooAhu.width,dam1.TdDam,dam1.TiDam,dam1.VActCooMax_flow,dam1.VActHeaMax_flow,dam1.VActMin_flow,dam1.VCooMax_flow,dam1.VDis_flow_Set,dam1.VHeaMax_flow,dam1.booToRea.realFalse,dam1.booToRea.realTrue,dam1.booToRea1.realFalse,dam1.booToRea1.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.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.u3,dam1.cooMax1.k,dam1.cooMax1.y,dam1.damPos.u3,dam1.falEdg.pre_u_start,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.greThr4.greHys.h,dam1.greThr4.greHys.pre_y_start,dam1.greThr4.greHys.t,dam1.greThr4.h,dam1.greThr4.have_hysteresis,dam1.greThr4.pre_y_start,dam1.greThr4.t,dam1.greThr5.greHys.h,dam1.greThr5.greHys.pre_y_start,dam1.greThr5.greHys.t,dam1.greThr5.h,dam1.greThr5.have_hysteresis,dam1.greThr5.pre_y_start,dam1.greThr5.t,dam1.heaDamPos.u3,dam1.heaFloSet.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.max2.u1,dam1.max2.u2,dam1.samCoo.samplePeriod,dam1.samCoo.t0,dam1.samHea.samplePeriod,dam1.samHea.t0,dam1.samplePeriod,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.586615215986967]