Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.yFloSenAla|ala.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.yFloSenAla|ala.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001671/0.001671, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.52/1.52, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 63.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.144, allocations: 159.1 MB / 1.221 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms): time 0.005134/1.149, allocations: 2.615 MB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004124/1.154, allocations: 2.215 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/1.155, allocations: 19.88 kB / 1.226 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006071/1.155, allocations: 114.6 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007759/1.156, allocations: 138.7 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/1.158, allocations: 0.8256 MB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002039/1.16, allocations: 1.421 MB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/1.161, allocations: 476 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009691/1.162, allocations: 0.5297 MB / 1.229 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009938/1.163, allocations: 0.5213 MB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004882/1.164, allocations: 151.9 kB / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/1.164, allocations: 167.9 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/1.165, allocations: 243.3 kB / 1.23 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009723/1.166, allocations: 0.5445 MB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/1.168, allocations: 1.645 MB / 1.232 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.168, allocations: 0 / 1.232 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/1.168, allocations: 4 kB / 1.232 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.638e-05/1.168, allocations: 0 / 1.232 GB, free: 6.656 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003387/1.171, allocations: 1.404 MB / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.171, allocations: 8.625 kB / 1.234 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/1.172, allocations: 119.8 kB / 1.234 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/1.174, allocations: 0.7543 MB / 1.234 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/1.174, allocations: 81.66 kB / 1.235 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.174, allocations: 104.4 kB / 1.235 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/1.175, allocations: 0.6863 MB / 1.235 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.175, allocations: 3.938 kB / 1.235 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/1.175, allocations: 35.98 kB / 1.235 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/1.175, allocations: 16 kB / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/1.177, allocations: 0.5438 MB / 1.236 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/1.18, allocations: 2.143 MB / 1.238 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/1.182, allocations: 0.7244 MB / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/1.182, allocations: 290 kB / 1.239 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/1.183, allocations: 8.438 kB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/1.184, allocations: 0.5665 MB / 1.24 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/1.184, allocations: 4 kB / 1.24 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.002588/1.186, allocations: 1.196 MB / 1.241 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/1.186, allocations: 68 kB / 1.241 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/1.187, allocations: 0.5218 MB / 1.241 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.187, allocations: 73.69 kB / 1.241 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/1.187, allocations: 356.8 kB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/1.187, allocations: 189.6 kB / 1.242 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/1.188, allocations: 258.5 kB / 1.242 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.188, allocations: 386.7 kB / 1.243 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008551/1.189, allocations: 366.1 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.19, allocations: 0.6077 MB / 1.243 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/1.192, allocations: 0.9133 MB / 1.244 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.192, allocations: 4 kB / 1.244 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002312/1.194, allocations: 1.233 MB / 1.246 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.194, allocations: 163.5 kB / 1.246 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.194, allocations: 8 kB / 1.246 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.194, allocations: 16 kB / 1.246 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/1.195, allocations: 119.7 kB / 1.246 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.195, allocations: 23.86 kB / 1.246 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.196, allocations: 231.1 kB / 1.246 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.196, allocations: 59.97 kB / 1.246 GB, free: 7.852 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 99 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel6.u,$PRE.ala.truDel7.u,$PRE.ala.truDel2.u,$PRE.ala.fanIni.u,$PRE.ala.truDel.t_next,$whenCondition26,$PRE.ala.truDel1.t_next,$whenCondition23,$PRE.ala.truDel6.t_next,$whenCondition20,$PRE.ala.truDel7.t_next,$whenCondition17,$PRE.ala.truDel2.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.truDel6.t_next,ala.truDel7.t_next,ala.truDel2.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.truDel2.y,ala.truDel2.u,ala.cloBotDam.y,ala.leaDamAla2.y,ala.truDel7.y,ala.truDel7.u,ala.truDel6.y,ala.truDel6.u,ala.gre3.greHys.y,$PRE.ala.gre3.greHys.y,ala.cloDam1.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam.lesHys.y,ala.not2.y,ala.and4.y,ala.not1.y,ala.and5.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.yLeaDamAla,ala.yFloSenAla,ala.yLowFloAla,$whenCondition13,$whenCondition12,$whenCondition16,$whenCondition15,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition21,$whenCondition25,$whenCondition24,$whenCondition28,$whenCondition27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 113 * 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.0004406/1.196, allocations: 294 kB / 1.246 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.196, allocations: 83.14 kB / 1.247 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/1.197, allocations: 75 kB / 1.247 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.197, allocations: 3.984 kB / 1.247 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.197, allocations: 0 / 1.247 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.197, allocations: 152.1 kB / 1.247 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.197, allocations: 27.92 kB / 1.247 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/1.197, allocations: 71.91 kB / 1.247 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.198, allocations: 112.5 kB / 1.247 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002164/1.2, allocations: 1.001 MB / 1.248 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00185/1.202, allocations: 1.098 MB / 1.249 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008056/1.202, allocations: 441 kB / 1.249 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003923/1.203, allocations: 326.9 kB / 1.25 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of Backend: time 4.91e-07/1.203, allocations: 4 kB / 1.25 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.205, allocations: 1.023 MB / 1.251 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002267/1.207, allocations: 1.573 MB / 1.252 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of Templates: time 0.02201/1.229, allocations: 12.27 MB / 1.264 GB, free: 5.289 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches