Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.uDam|ala.uVal|ala.TSup|ala.TDis|ala.TDisSet|ala.yFloSenAla|ala.yLowTemAla|ala.yLeaValAla",fileNamePrefix="Buildings_9_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.uDam|ala.uVal|ala.TSup|ala.TDis|ala.TDisSet|ala.yFloSenAla|ala.yLowTemAla|ala.yLeaValAla",fileNamePrefix="Buildings_9_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.001168/0.001168, allocations: 115.3 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.001279/0.001279, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9737/0.9752, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms): time 0.004794/0.98, allocations: 3.461 MB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.9842, allocations: 2.518 MB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.9854, allocations: 30.16 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.9859, allocations: 182.2 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.9865, allocations: 177.2 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.9889, allocations: 0.9866 MB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.9918, allocations: 1.886 MB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.9932, allocations: 0.7377 MB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.9944, allocations: 0.6932 MB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.9955, allocations: 0.706 MB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00039/0.9959, allocations: 199.2 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.9963, allocations: 219.9 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.9966, allocations: 356.7 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008218/0.9975, allocations: 0.7502 MB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/1.001, allocations: 2.271 MB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.001, allocations: 0.6094 kB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.087e-06/1.001, allocations: 0.8125 kB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.995e-05/1.001, allocations: 3.938 kB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004877/1.006, allocations: 1.807 MB / 1.105 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.006, allocations: 9.188 kB / 1.105 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/1.007, allocations: 173.5 kB / 1.105 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/1.009, allocations: 0.974 MB / 1.106 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/1.009, allocations: 109.9 kB / 1.106 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/1.01, allocations: 144.8 kB / 1.107 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/1.012, allocations: 1.104 MB / 1.108 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.012, allocations: 0 / 1.108 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.012, allocations: 48.44 kB / 1.108 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/1.013, allocations: 23.97 kB / 1.108 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/1.015, allocations: 0.7693 MB / 1.108 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006717/1.021, allocations: 3.116 MB / 1.112 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/1.023, allocations: 0.9438 MB / 1.112 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009351/1.024, allocations: 416.5 kB / 1.113 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/1.024, allocations: 8.641 kB / 1.113 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/1.026, allocations: 0.8111 MB / 1.114 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 3.807e-06/1.026, allocations: 0 / 1.114 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.003766/1.03, allocations: 1.631 MB / 1.115 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/1.03, allocations: 95.2 kB / 1.115 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.031, allocations: 0.7135 MB / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002896/1.031, allocations: 92.48 kB / 1.116 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/1.032, allocations: 487.9 kB / 1.117 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/1.032, allocations: 251.4 kB / 1.117 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/1.033, allocations: 344.1 kB / 1.117 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.033, allocations: 409.8 kB / 1.118 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.034, allocations: 453.2 kB / 1.118 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/1.035, allocations: 0.8109 MB / 1.119 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.038, allocations: 1.184 MB / 1.12 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.038, allocations: 2.688 kB / 1.12 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003415/1.041, allocations: 1.536 MB / 1.121 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/1.041, allocations: 162.2 kB / 1.122 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/1.041, allocations: 11.09 kB / 1.122 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/1.041, allocations: 19.34 kB / 1.122 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/1.042, allocations: 167.6 kB / 1.122 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.882e-05/1.042, allocations: 28.27 kB / 1.122 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/1.044, allocations: 277.3 kB / 1.122 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/1.044, allocations: 76.59 kB / 1.122 GB, free: 2.895 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 141 ($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.truDel.t_next,$whenCondition35,$PRE.ala.truDel1.t_next,$whenCondition32,$PRE.ala.truDel2.t_next,$whenCondition29,$PRE.ala.truDel3.t_next,$whenCondition26,$PRE.ala.truDel4.t_next,$whenCondition23,$PRE.ala.truDel5.t_next,$whenCondition20,$PRE.ala.truDel6.t_next,$whenCondition17,$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,$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.truDel8.y,ala.truDel8.u,ala.truDel7.y,ala.truDel7.u,ala.yFanStaAla,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,ala.truDel7.t_next,ala.conInt2.y,ala.conInt.y,ala.greThr1.y,ala.greThr2.y,ala.booToInt5.y,ala.booToInt1.y,hotPla.y,$PRE.hotPla.y,damSta.y,$PRE.damSta.y,supFan.y,$PRE.supFan.y,ala.not8.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.booToInt4.y,ala.and8.y,ala.lowTemAla.y,ala.not6.y,ala.and6.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.not5.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam.lesHys.y,ala.truDel3.y,ala.truDel3.u,ala.not4.y,ala.gre1.greHys.y,$PRE.ala.gre1.greHys.y,ala.truDel2.y,ala.truDel2.u,ala.not2.y,ala.not1.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,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition21,$whenCondition25,$whenCondition24,$whenCondition28,$whenCondition27,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33,$whenCondition37,$whenCondition36,ala.conInt4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 163 * 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.0009482/1.045, allocations: 371.9 kB / 1.122 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/1.045, allocations: 105.6 kB / 1.123 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/1.045, allocations: 102.4 kB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.046, allocations: 5.531 kB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.046, allocations: 1.312 kB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/1.046, allocations: 179.2 kB / 1.123 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.046, allocations: 47.77 kB / 1.123 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/1.047, allocations: 87.86 kB / 1.123 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/1.047, allocations: 160 kB / 1.123 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003188/1.05, allocations: 1.443 MB / 1.125 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002824/1.053, allocations: 1.498 MB / 1.126 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001182/1.054, allocations: 0.595 MB / 1.127 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006716/1.055, allocations: 427.1 kB / 1.127 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of Backend: time 6.61e-07/1.055, allocations: 0 / 1.127 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002993/1.058, allocations: 1.195 MB / 1.128 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003229/1.061, allocations: 1.991 MB / 1.13 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of Templates: time 0.04014/1.101, allocations: 15.78 MB / 1.146 GB, free: 9.234 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches