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 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.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.001689/0.001689, allocations: 117.7 kB / 16.42 MB, free: 6.02 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.001946/0.001946, allocations: 183.8 kB / 17.35 MB, free: 5.625 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.517/1.517, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.84 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.128, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms): time 0.006394/1.135, allocations: 3.802 MB / 1.23 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005423/1.14, allocations: 2.792 MB / 1.233 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.142, allocations: 31.88 kB / 1.233 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009722/1.143, allocations: 209.6 kB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/1.144, allocations: 206 kB / 1.233 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/1.148, allocations: 1.151 MB / 1.234 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003576/1.152, allocations: 2.194 MB / 1.237 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.154, allocations: 0.838 MB / 1.237 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/1.155, allocations: 0.8062 MB / 1.238 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/1.157, allocations: 0.8285 MB / 1.239 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008037/1.157, allocations: 236 kB / 1.239 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008092/1.158, allocations: 252 kB / 1.239 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006787/1.159, allocations: 414.8 kB / 1.24 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/1.161, allocations: 0.8595 MB / 1.241 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003732/1.164, allocations: 2.655 MB / 1.243 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.164, allocations: 0 / 1.243 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/1.164, allocations: 0 / 1.243 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.04e-05/1.164, allocations: 0 / 1.243 GB, free: 12.18 MB / 0.9669 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.005571/1.17, allocations: 2.065 MB / 1.245 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.17, allocations: 8.031 kB / 1.245 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/1.171, allocations: 199.9 kB / 1.245 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/1.173, allocations: 1.064 MB / 1.246 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/1.173, allocations: 130.6 kB / 1.247 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/1.174, allocations: 168.3 kB / 1.247 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/1.176, allocations: 1.274 MB / 1.248 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.176, allocations: 3.938 kB / 1.248 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.176, allocations: 63.95 kB / 1.248 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/1.176, allocations: 24 kB / 1.248 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/1.178, allocations: 0.8832 MB / 1.249 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00578/1.184, allocations: 3.563 MB / 1.252 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/1.186, allocations: 1.2 MB / 1.254 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009453/1.187, allocations: 470.1 kB / 1.254 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/1.187, allocations: 8.656 kB / 1.254 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/1.189, allocations: 0.9498 MB / 1.255 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=131): time 3.236e-06/1.189, allocations: 0 / 1.255 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131): time 0.004043/1.193, allocations: 1.909 MB / 1.257 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/1.193, allocations: 98.05 kB / 1.257 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.194, allocations: 0.7856 MB / 1.258 GB, free: 13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/1.194, allocations: 93.69 kB / 1.258 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/1.195, allocations: 0.5451 MB / 1.258 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.195, allocations: 305.7 kB / 1.259 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/1.196, allocations: 399.5 kB / 1.259 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.196, allocations: 301.1 kB / 1.259 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.197, allocations: 0.5192 MB / 1.26 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/1.198, allocations: 0.9476 MB / 1.261 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/1.201, allocations: 1.372 MB / 1.262 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.201, allocations: 4 kB / 1.262 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003419/1.204, allocations: 1.799 MB / 1.264 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.204, allocations: 194.2 kB / 1.264 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.204, allocations: 12 kB / 1.264 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/1.204, allocations: 20 kB / 1.264 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/1.205, allocations: 191.5 kB / 1.264 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/1.205, allocations: 23.94 kB / 1.264 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.207, allocations: 322.9 kB / 1.265 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.207, allocations: 95.89 kB / 1.265 GB, free: 5.391 MB / 0.9825 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.0008257/1.208, allocations: 408.8 kB / 1.265 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.208, allocations: 131.2 kB / 1.265 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/1.208, allocations: 114.1 kB / 1.265 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.208, allocations: 3.984 kB / 1.265 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.208, allocations: 11.94 kB / 1.265 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/1.208, allocations: 188.1 kB / 1.265 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.209, allocations: 51.95 kB / 1.266 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/1.209, allocations: 91.88 kB / 1.266 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/1.209, allocations: 184.8 kB / 1.266 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003155/1.213, allocations: 1.65 MB / 1.267 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002749/1.215, allocations: 1.725 MB / 1.269 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001145/1.217, allocations: 0.705 MB / 1.27 GB, free: 88 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006019/1.217, allocations: 463 kB / 1.27 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of Backend: time 7.51e-07/1.217, allocations: 0 / 1.27 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003003/1.22, allocations: 1.39 MB / 1.272 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003558/1.224, allocations: 2.263 MB / 1.274 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.03497/1.259, allocations: 18.1 MB / 1.291 GB, free: 9.883 MB / 1.014 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