Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VPri_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.u1FanCom|ala.u1TerFan|ala.yFanStaAla|ala.uOpeMod|ala.uDam|ala.uVal|ala.TSup|ala.TDis|ala.TDisSet|ala.yFloSenAla|ala.yLowTemAla|ala.yLeaValAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VPri_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.u1FanCom|ala.u1TerFan|ala.yFanStaAla|ala.uOpeMod|ala.uDam|ala.uVal|ala.TSup|ala.TDis|ala.TDisSet|ala.yFloSenAla|ala.yLowTemAla|ala.yLeaValAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001242, allocations: 121 kB / 16.42 MB, free: 6.473 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.001236/0.001236, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9774/0.9786, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms): time 0.006047/0.9847, allocations: 3.794 MB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004918/0.9897, allocations: 2.807 MB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.9909, allocations: 35.81 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.9914, allocations: 201.7 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.9919, allocations: 186 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.9947, allocations: 1.161 MB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.9971, allocations: 2.194 MB / 1.219 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.9983, allocations: 0.8342 MB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.9995, allocations: 0.8023 MB / 1.22 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/1, allocations: 0.8208 MB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/1.001, allocations: 232 kB / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/1.001, allocations: 248 kB / 1.221 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/1.001, allocations: 418.8 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007968/1.002, allocations: 0.8672 MB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/1.005, allocations: 2.645 MB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.005, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.847e-06/1.005, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.918e-05/1.005, allocations: 0 / 1.225 GB, free: 12.3 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.004215/1.009, allocations: 2.016 MB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.009, allocations: 8.031 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003714/1.01, allocations: 191 kB / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/1.012, allocations: 1.068 MB / 1.228 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.012, allocations: 122.6 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/1.012, allocations: 176.3 kB / 1.229 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/1.015, allocations: 1.263 MB / 1.23 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.015, allocations: 7.922 kB / 1.23 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.015, allocations: 63.97 kB / 1.23 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/1.015, allocations: 28 kB / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.017, allocations: 0.8832 MB / 1.231 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/1.023, allocations: 3.55 MB / 1.234 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/1.025, allocations: 1.192 MB / 1.236 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/1.026, allocations: 478.2 kB / 1.236 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/1.026, allocations: 8.656 kB / 1.236 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/1.028, allocations: 0.9419 MB / 1.237 GB, free: 12 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=131): time 3.928e-06/1.028, allocations: 0 / 1.237 GB, free: 12 kB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.00397/1.032, allocations: 1.908 MB / 1.239 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/1.032, allocations: 98.09 kB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/1.033, allocations: 0.7812 MB / 1.24 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/1.033, allocations: 101.7 kB / 1.24 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/1.034, allocations: 0.5321 MB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/1.034, allocations: 284.4 kB / 1.241 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/1.035, allocations: 399.5 kB / 1.241 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.035, allocations: 305.1 kB / 1.241 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/1.036, allocations: 0.5114 MB / 1.242 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.038, allocations: 0.9554 MB / 1.243 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/1.04, allocations: 1.371 MB / 1.244 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-05/1.041, allocations: 4 kB / 1.244 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00379/1.044, allocations: 1.789 MB / 1.246 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/1.044, allocations: 190.2 kB / 1.246 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/1.045, allocations: 12 kB / 1.246 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.693e-05/1.045, allocations: 31.88 kB / 1.246 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/1.045, allocations: 187.7 kB / 1.246 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.592e-05/1.045, allocations: 31.86 kB / 1.246 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.047, allocations: 322.5 kB / 1.247 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/1.047, allocations: 83.97 kB / 1.247 GB, free: 5.617 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 167 ($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.truDel7.u,$PRE.ala.truDel8.u,$PRE.ala.truDel9.u,$PRE.ala.fanIni.u,$PRE.ala.truDel.t_next,$whenCondition43,$PRE.ala.truDel1.t_next,$whenCondition40,$PRE.ala.truDel2.t_next,$whenCondition37,$PRE.ala.truDel3.t_next,$whenCondition34,$PRE.ala.truDel4.t_next,$whenCondition31,$PRE.ala.truDel5.t_next,$whenCondition28,$PRE.ala.truDel6.t_next,$whenCondition25,$PRE.ala.truDel9.t_next,$whenCondition22,$PRE.ala.fanIni.t_next,$whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,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.truDel9.t_next,ala.fanIni.t_next,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$PRE.ala.truDel8.t_next,$whenCondition4,$PRE.ala.truDel7.t_next,$whenCondition1,ala.truDel8.t_next,terFanOn.y,$PRE.terFanOn.y,terFanComOn.y,$PRE.terFanComOn.y,ala.not11.y,ala.not10.y,ala.booToInt7.y,ala.and10.y,ala.truDel8.y,ala.truDel8.u,ala.and11.y,ala.truDel7.y,ala.truDel7.u,ala.yFanStaAla,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,ala.truDel7.t_next,ala.occMod.y,ala.conInt2.y,ala.conInt.y,ala.greThr1.y,ala.greThr2.y,ala.booToInt5.y,ala.booToInt1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,hotPla.y,$PRE.hotPla.y,damSta.y,$PRE.damSta.y,supFan.y,$PRE.supFan.y,ala.isOcc.y,ala.fanIni.y,ala.fanIni.u,ala.truDel9.y,ala.truDel9.u,ala.leaValAla.y,ala.gre2.greHys.y,$PRE.ala.gre2.greHys.y,ala.cloVal.lesHys.y,$PRE.ala.cloVal.lesHys.y,ala.truDel6.y,ala.truDel6.u,ala.not7.y,ala.and9.y,ala.booToInt4.y,ala.lowTemAla.y,ala.not6.y,ala.and7.y,ala.truDel5.y,ala.truDel5.u,ala.truDel4.y,ala.truDel4.u,ala.les2.lesHys.y,$PRE.ala.les2.lesHys.y,ala.les1.lesHys.y,$PRE.ala.les1.lesHys.y,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.and14.y,ala.not1.y,ala.and4.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.yLowTemAla,ala.yLeaValAla,ala.yLeaDamAla,ala.yFloSenAla,ala.yLowFloAla,$whenCondition21,$whenCondition20,$whenCondition24,$whenCondition23,$whenCondition27,$whenCondition26,$whenCondition30,$whenCondition29,$whenCondition33,$whenCondition32,$whenCondition36,$whenCondition35,$whenCondition39,$whenCondition38,$whenCondition42,$whenCondition41,$whenCondition45,$whenCondition44,ala.conInt4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 6 * 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.0009749/1.048, allocations: 408.2 kB / 1.247 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/1.049, allocations: 126.7 kB / 1.247 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/1.049, allocations: 114.2 kB / 1.247 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/1.049, allocations: 7.969 kB / 1.247 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.049, allocations: 0 / 1.247 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/1.049, allocations: 183.5 kB / 1.247 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/1.05, allocations: 51.95 kB / 1.247 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/1.05, allocations: 99.86 kB / 1.248 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004494/1.051, allocations: 176.8 kB / 1.248 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003686/1.055, allocations: 1.651 MB / 1.249 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003167/1.058, allocations: 1.717 MB / 1.251 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001315/1.059, allocations: 0.705 MB / 1.252 GB, free: 344 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006614/1.06, allocations: 455 kB / 1.252 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/1.06, allocations: 3.938 kB / 1.252 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003154/1.063, allocations: 1.397 MB / 1.253 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004122/1.067, allocations: 2.233 MB / 1.256 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.03674/1.104, allocations: 18.1 MB / 1.273 GB, free: 10.17 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches