Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VColDucDis_flow|ala.VHotDucDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.VHeaMax_flow|ala.yColFloSenAla|ala.yHotFloSenAla|ala.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VColDucDis_flow|ala.VHotDucDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.VHeaMax_flow|ala.yColFloSenAla|ala.yHotFloSenAla|ala.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 118.1 kB / 16.42 MB, free: 6.48 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.001745/0.001745, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.702/2.702, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 63.91 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9187/0.9209, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms): time 0.005149/0.9261, allocations: 3.01 MB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004113/0.9302, allocations: 2.371 MB / 1.232 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.9311, allocations: 23.94 kB / 1.232 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.9317, allocations: 138.3 kB / 1.232 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006219/0.9323, allocations: 162.4 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.9345, allocations: 0.9127 MB / 1.233 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.9366, allocations: 1.671 MB / 1.234 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009566/0.9376, allocations: 0.5521 MB / 1.235 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.9386, allocations: 0.6154 MB / 1.236 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009035/0.9395, allocations: 0.6301 MB / 1.236 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.9399, allocations: 180 kB / 1.236 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.9402, allocations: 184 kB / 1.237 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.9406, allocations: 311.1 kB / 1.237 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008217/0.9414, allocations: 0.6495 MB / 1.238 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.9436, allocations: 1.974 MB / 1.239 GB, free: 48 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9436, allocations: 0 / 1.239 GB, free: 48 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9436, allocations: 0 / 1.239 GB, free: 48 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.144e-05/0.9437, allocations: 0 / 1.239 GB, free: 48 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003971/0.9477, allocations: 1.65 MB / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.9477, allocations: 8.031 kB / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.9481, allocations: 148.2 kB / 1.241 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.9504, allocations: 0.8723 MB / 1.242 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.9506, allocations: 90.34 kB / 1.242 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.9508, allocations: 132.4 kB / 1.242 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.9528, allocations: 0.8627 MB / 1.243 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.9528, allocations: 11.92 kB / 1.243 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.9529, allocations: 47.91 kB / 1.243 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.953, allocations: 20 kB / 1.243 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.9547, allocations: 0.6793 MB / 1.244 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004645/0.9594, allocations: 2.583 MB / 1.246 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.9613, allocations: 0.8971 MB / 1.247 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009074/0.9622, allocations: 370.3 kB / 1.248 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.9623, allocations: 8.562 kB / 1.248 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.9637, allocations: 0.6837 MB / 1.248 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=99): time 3.297e-06/0.9637, allocations: 0 / 1.248 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99): time 0.003479/0.9672, allocations: 1.507 MB / 1.25 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.9672, allocations: 60.41 kB / 1.25 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.968, allocations: 0.617 MB / 1.25 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.9682, allocations: 81.69 kB / 1.25 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.9686, allocations: 417.8 kB / 1.251 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.9688, allocations: 234.2 kB / 1.251 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/0.9694, allocations: 294.9 kB / 1.251 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002919/0.9697, allocations: 398.7 kB / 1.252 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.9707, allocations: 426.4 kB / 1.252 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.972, allocations: 0.7166 MB / 1.253 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.974, allocations: 1.069 MB / 1.254 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.9741, allocations: 8 kB / 1.254 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002965/0.977, allocations: 1.419 MB / 1.255 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.9772, allocations: 164.4 kB / 1.255 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.9772, allocations: 8 kB / 1.255 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/0.9772, allocations: 19.94 kB / 1.255 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.9778, allocations: 151.8 kB / 1.256 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.9778, allocations: 23.92 kB / 1.256 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.9791, allocations: 259.1 kB / 1.256 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.9793, allocations: 71.97 kB / 1.256 GB, free: 14.47 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 119 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$PRE.ala.truDel4.u,$PRE.ala.truDel5.u,$PRE.ala.truDel6.u,$PRE.ala.fanIni.u,$PRE.ala.truDel.t_next,$whenCondition32,$PRE.ala.truDel1.t_next,$whenCondition29,$PRE.ala.truDel2.t_next,$whenCondition26,$PRE.ala.truDel3.t_next,$whenCondition23,$PRE.ala.truDel4.t_next,$whenCondition20,$PRE.ala.truDel5.t_next,$whenCondition17,$PRE.ala.truDel6.t_next,$whenCondition14,$PRE.ala.fanIni.t_next,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ala.truDel.t_next,ala.truDel1.t_next,ala.truDel2.t_next,ala.truDel3.t_next,ala.truDel4.t_next,ala.truDel5.t_next,ala.truDel6.t_next,ala.fanIni.t_next,ala.occMod.y,ala.conInt.y,ala.greThr1.y,ala.booToInt1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,heaDammSta.y,$PRE.heaDammSta.y,supHeaFan.y,$PRE.supHeaFan.y,colDammSta.y,$PRE.colDammSta.y,supCooFan.y,$PRE.supCooFan.y,ala.isOcc.y,ala.fanIni.y,ala.fanIni.u,ala.truDel6.y,ala.truDel6.u,ala.leaDamAla1.y,ala.cloDam1.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.truDel5.y,ala.truDel5.u,ala.gre2.greHys.y,$PRE.ala.gre2.greHys.y,ala.truDel4.y,ala.truDel4.u,ala.leaDamAla.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam.lesHys.y,ala.truDel3.y,ala.truDel3.u,ala.gre1.greHys.y,$PRE.ala.gre1.greHys.y,ala.truDel2.y,ala.truDel2.u,ala.not2.y,ala.and4.y,ala.not1.y,ala.and7.y,ala.booToInt.y,ala.lowFloAla.y,ala.and1.y,ala.and2.y,ala.truDel1.y,ala.truDel1.u,ala.gre.greHys.y,$PRE.ala.gre.greHys.y,ala.greThr.greHys.y,$PRE.ala.greThr.greHys.y,ala.truDel.y,ala.truDel.u,ala.les.lesHys.y,$PRE.ala.les.lesHys.y,ala.yHotLeaDamAla,ala.yHotFloSenAla,ala.yColLeaDamAla,ala.yColFloSenAla,ala.yLowFloAla,$whenCondition13,$whenCondition12,$whenCondition16,$whenCondition15,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition21,$whenCondition25,$whenCondition24,$whenCondition28,$whenCondition27,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006306/0.9799, allocations: 321.5 kB / 1.256 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.9801, allocations: 103.4 kB / 1.256 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.9803, allocations: 92.5 kB / 1.256 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.9803, allocations: 3.984 kB / 1.256 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9803, allocations: 0 / 1.256 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.9804, allocations: 160.4 kB / 1.257 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.9806, allocations: 43.97 kB / 1.257 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.9811, allocations: 75.89 kB / 1.257 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.9814, allocations: 140.7 kB / 1.257 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002784/0.9842, allocations: 1.224 MB / 1.258 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002261/0.9865, allocations: 1.319 MB / 1.259 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009774/0.9875, allocations: 0.5504 MB / 1.26 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004437/0.9879, allocations: 367.1 kB / 1.26 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Backend: time 6.21e-07/0.9879, allocations: 0 / 1.26 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.9901, allocations: 1.135 MB / 1.261 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00241/0.9926, allocations: 1.806 MB / 1.263 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.02474/1.017, allocations: 14.25 MB / 1.277 GB, free: 8.875 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches