Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.002/0.002, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.917/2.917, allocations: 469.4 MB / 0.7428 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.066 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 159.1 MB / 1.221 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms): time 0.004996/1.126, allocations: 3.015 MB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004934/1.131, allocations: 2.387 MB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/1.132, allocations: 19.94 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/1.133, allocations: 142.3 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006544/1.133, allocations: 162.4 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/1.136, allocations: 0.9071 MB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002748/1.139, allocations: 1.659 MB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/1.14, allocations: 0.556 MB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.142, allocations: 0.6192 MB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/1.143, allocations: 0.6379 MB / 1.231 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007028/1.144, allocations: 172 kB / 1.231 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/1.144, allocations: 188 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/1.144, allocations: 303.1 kB / 1.231 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006463/1.145, allocations: 0.6495 MB / 1.232 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/1.147, allocations: 1.976 MB / 1.234 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.147, allocations: 0 / 1.234 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.345e-06/1.147, allocations: 0 / 1.234 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.314e-05/1.147, allocations: 4 kB / 1.234 GB, free: 4.898 MB / 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.002845/1.15, allocations: 1.604 MB / 1.236 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.15, allocations: 12.62 kB / 1.236 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/1.15, allocations: 135.6 kB / 1.236 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/1.152, allocations: 0.864 MB / 1.237 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-05/1.152, allocations: 86.34 kB / 1.237 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.152, allocations: 132.3 kB / 1.237 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/1.154, allocations: 0.8667 MB / 1.238 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.154, allocations: 3.938 kB / 1.238 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/1.154, allocations: 39.98 kB / 1.238 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/1.154, allocations: 24 kB / 1.238 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/1.156, allocations: 0.6793 MB / 1.238 GB, free: 328 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/1.16, allocations: 2.598 MB / 1.241 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/1.162, allocations: 0.8921 MB / 1.242 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/1.162, allocations: 374.3 kB / 1.242 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.162, allocations: 8.562 kB / 1.242 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/1.164, allocations: 0.6835 MB / 1.243 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=99): time 2.525e-06/1.164, allocations: 8 kB / 1.243 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99): time 0.003096/1.167, allocations: 1.491 MB / 1.244 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/1.167, allocations: 68.39 kB / 1.244 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/1.167, allocations: 0.6166 MB / 1.245 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.168, allocations: 77.69 kB / 1.245 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/1.168, allocations: 397.1 kB / 1.245 GB, free: 9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/1.168, allocations: 233.1 kB / 1.246 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/1.168, allocations: 306.7 kB / 1.246 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.169, allocations: 398.7 kB / 1.246 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/1.17, allocations: 422.4 kB / 1.247 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/1.171, allocations: 0.7244 MB / 1.247 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.173, allocations: 1.065 MB / 1.248 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.173, allocations: 4 kB / 1.248 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002676/1.176, allocations: 1.41 MB / 1.25 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.176, allocations: 161.1 kB / 1.25 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.176, allocations: 12 kB / 1.25 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.176, allocations: 19.94 kB / 1.25 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/1.176, allocations: 151.6 kB / 1.25 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/1.176, allocations: 23.92 kB / 1.25 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.178, allocations: 254.9 kB / 1.25 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.178, allocations: 71.97 kB / 1.25 GB, free: 3.414 MB / 0.9669 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.and8.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.0005048/1.178, allocations: 324.1 kB / 1.251 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.178, allocations: 94.95 kB / 1.251 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/1.179, allocations: 92.5 kB / 1.251 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.179, allocations: 3.984 kB / 1.251 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.179, allocations: 0 / 1.251 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.179, allocations: 159.9 kB / 1.251 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.179, allocations: 31.98 kB / 1.251 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/1.179, allocations: 87.88 kB / 1.251 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/1.18, allocations: 132.8 kB / 1.251 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002481/1.182, allocations: 1.239 MB / 1.253 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002322/1.185, allocations: 1.311 MB / 1.254 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009993/1.186, allocations: 0.5427 MB / 1.254 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004623/1.186, allocations: 375 kB / 1.255 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of Backend: time 3.41e-07/1.186, allocations: 0 / 1.255 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002334/1.188, allocations: 1.129 MB / 1.256 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00243/1.191, allocations: 1.775 MB / 1.258 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.02606/1.217, allocations: 14.24 MB / 1.271 GB, free: 13.87 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches