Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001278/0.001278, allocations: 109 kB / 16.42 MB, free: 6.434 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.001455/0.001455, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.89 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.9533, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms): time 0.005105/0.9584, allocations: 3.792 MB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.9621, allocations: 2.789 MB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005739/0.9627, allocations: 31.88 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.9632, allocations: 205.7 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.9636, allocations: 202 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.9657, allocations: 1.173 MB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.9676, allocations: 2.186 MB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.9687, allocations: 0.8342 MB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009459/0.9697, allocations: 0.8062 MB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.9704, allocations: 0.8169 MB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.9707, allocations: 236 kB / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.971, allocations: 248 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.9713, allocations: 410.8 kB / 1.181 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.9721, allocations: 0.8712 MB / 1.182 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.9746, allocations: 2.659 MB / 1.184 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9746, allocations: 0 / 1.184 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9746, allocations: 0 / 1.184 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.999e-05/0.9746, allocations: 0 / 1.184 GB, free: 2.516 MB / 0.9044 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.003919/0.9786, allocations: 2.054 MB / 1.186 GB, free: 364 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.9786, allocations: 16.62 kB / 1.186 GB, free: 348 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.9789, allocations: 195.9 kB / 1.186 GB, free: 152 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.9813, allocations: 1.057 MB / 1.187 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.9814, allocations: 126.6 kB / 1.188 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.9816, allocations: 172.3 kB / 1.188 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.9839, allocations: 1.274 MB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.9839, allocations: 3.938 kB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.984, allocations: 59.97 kB / 1.189 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.9841, allocations: 28 kB / 1.189 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.986, allocations: 0.8794 MB / 1.19 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.9915, allocations: 3.574 MB / 1.193 GB, free: 8.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.9937, allocations: 1.201 MB / 1.195 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009097/0.9946, allocations: 467.3 kB / 1.195 GB, free: 7.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.9947, allocations: 8.656 kB / 1.195 GB, free: 7.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.9962, allocations: 0.9459 MB / 1.196 GB, free: 6.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=131): time 3.346e-06/0.9963, allocations: 0 / 1.196 GB, free: 6.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=131): time 0.003948/1, allocations: 1.916 MB / 1.198 GB, free: 4.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1, allocations: 102.1 kB / 1.198 GB, free: 4.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/1.001, allocations: 0.7856 MB / 1.199 GB, free: 3.348 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/1.001, allocations: 89.7 kB / 1.199 GB, free: 3.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/1.002, allocations: 0.5412 MB / 1.199 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/1.002, allocations: 305.7 kB / 1.2 GB, free: 2.402 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005359/1.003, allocations: 399.5 kB / 1.2 GB, free: 2.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/1.003, allocations: 301.1 kB / 1.2 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/1.004, allocations: 0.5153 MB / 1.201 GB, free: 1.191 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.005, allocations: 0.9476 MB / 1.202 GB, free: 64 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/1.008, allocations: 1.378 MB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.008, allocations: 4 kB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003293/1.011, allocations: 1.795 MB / 1.205 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.011, allocations: 190.8 kB / 1.205 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.011, allocations: 16 kB / 1.205 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/1.011, allocations: 27.94 kB / 1.205 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/1.012, allocations: 187.5 kB / 1.205 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.198e-05/1.012, allocations: 31.92 kB / 1.205 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.013, allocations: 330.8 kB / 1.206 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.014, allocations: 87.97 kB / 1.206 GB, free: 11.73 MB / 0.9356 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.0007038/1.014, allocations: 404.2 kB / 1.206 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/1.014, allocations: 135.2 kB / 1.206 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/1.015, allocations: 110.2 kB / 1.206 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.015, allocations: 7.969 kB / 1.206 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.015, allocations: 0 / 1.206 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/1.015, allocations: 200.1 kB / 1.206 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.015, allocations: 47.97 kB / 1.206 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/1.016, allocations: 95.86 kB / 1.207 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003415/1.016, allocations: 176.8 kB / 1.207 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003026/1.019, allocations: 1.649 MB / 1.208 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002695/1.022, allocations: 1.725 MB / 1.21 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00112/1.023, allocations: 0.6971 MB / 1.211 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000514/1.023, allocations: 455 kB / 1.211 GB, free: 6 MB / 0.9356 GB Notification: Performance of Backend: time 7.32e-07/1.023, allocations: 0 / 1.211 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00268/1.026, allocations: 1.411 MB / 1.213 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002861/1.029, allocations: 2.259 MB / 1.215 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.03172/1.061, allocations: 18.03 MB / 1.232 GB, free: 316 kB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches