Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|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.Reheat.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|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.Reheat.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 113.7 kB / 16.42 MB, free: 6.492 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.001817/0.001817, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.89 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms): time 0.00611/1.032, allocations: 3.489 MB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005061/1.037, allocations: 2.515 MB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/1.038, allocations: 27.88 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008182/1.039, allocations: 189.9 kB / 1.215 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009487/1.04, allocations: 166.2 kB / 1.215 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/1.042, allocations: 0.9125 MB / 1.216 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00257/1.045, allocations: 1.835 MB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/1.047, allocations: 0.7613 MB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/1.048, allocations: 0.6776 MB / 1.219 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/1.049, allocations: 0.6846 MB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005577/1.049, allocations: 200 kB / 1.22 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/1.05, allocations: 215.9 kB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004712/1.05, allocations: 351 kB / 1.22 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008852/1.051, allocations: 0.7427 MB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/1.054, allocations: 2.26 MB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.054, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.374e-06/1.054, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.054, allocations: 0 / 1.223 GB, free: 14.54 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003432/1.057, allocations: 1.757 MB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.057, allocations: 15.97 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/1.057, allocations: 163.2 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/1.06, allocations: 0.9622 MB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.06, allocations: 102.3 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/1.06, allocations: 148.3 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/1.062, allocations: 0.9994 MB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.062, allocations: 3.938 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.062, allocations: 51.97 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/1.062, allocations: 27.94 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/1.064, allocations: 0.7769 MB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/1.069, allocations: 3.065 MB / 1.231 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/1.071, allocations: 1.005 MB / 1.232 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/1.072, allocations: 402.6 kB / 1.232 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/1.072, allocations: 8.656 kB / 1.232 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/1.074, allocations: 0.746 MB / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 4.629e-06/1.074, allocations: 0 / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.00349/1.077, allocations: 1.608 MB / 1.235 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/1.077, allocations: 72.34 kB / 1.235 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/1.078, allocations: 0.699 MB / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.078, allocations: 91.98 kB / 1.235 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/1.079, allocations: 484.7 kB / 1.236 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/1.079, allocations: 248.8 kB / 1.236 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/1.079, allocations: 322.8 kB / 1.237 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.08, allocations: 414.7 kB / 1.237 GB, free: 132 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.081, allocations: 439 kB / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.082, allocations: 0.7782 MB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/1.084, allocations: 1.113 MB / 1.239 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.084, allocations: 4 kB / 1.239 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002775/1.087, allocations: 1.448 MB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.087, allocations: 130.8 kB / 1.241 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/1.087, allocations: 12.53 kB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/1.087, allocations: 20 kB / 1.241 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/1.087, allocations: 171.5 kB / 1.241 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-05/1.087, allocations: 27.86 kB / 1.241 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.089, allocations: 246.8 kB / 1.241 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.089, allocations: 71.97 kB / 1.241 GB, free: 11.31 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 139 ($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.fanIni.u,$PRE.ala.truDel.t_next,$whenCondition33,$PRE.ala.truDel1.t_next,$whenCondition30,$PRE.ala.truDel2.t_next,$whenCondition27,$PRE.ala.truDel3.t_next,$whenCondition24,$PRE.ala.truDel4.t_next,$whenCondition21,$PRE.ala.truDel5.t_next,$whenCondition18,$PRE.ala.truDel6.t_next,$whenCondition15,$PRE.ala.truDel7.t_next,$whenCondition12,$PRE.ala.fanIni.t_next,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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.truDel7.t_next,ala.fanIni.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.fanHotPlaOn.y,ala.truDel7.y,ala.truDel7.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.and8.y,ala.lowTemAla.y,ala.not6.y,ala.and7.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.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.and12.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,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25,$whenCondition29,$whenCondition28,$whenCondition32,$whenCondition31,$whenCondition35,$whenCondition34) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 4 * 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.0007931/1.09, allocations: 366.5 kB / 1.242 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.09, allocations: 106.9 kB / 1.242 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/1.09, allocations: 93.55 kB / 1.242 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.09, allocations: 11.92 kB / 1.242 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.09, allocations: 0 / 1.242 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.09, allocations: 175.7 kB / 1.242 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.09, allocations: 55.91 kB / 1.242 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/1.091, allocations: 83.88 kB / 1.242 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/1.091, allocations: 152.8 kB / 1.242 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002693/1.094, allocations: 1.314 MB / 1.244 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002431/1.096, allocations: 1.408 MB / 1.245 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001015/1.097, allocations: 0.5817 MB / 1.245 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005493/1.098, allocations: 427 kB / 1.246 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of Backend: time 1.022e-06/1.098, allocations: 4 kB / 1.246 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002514/1.101, allocations: 1.107 MB / 1.247 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002885/1.103, allocations: 2.004 MB / 1.249 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of Templates: time 0.02755/1.131, allocations: 15.31 MB / 1.264 GB, free: 4.098 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches