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 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.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.001331/0.001331, allocations: 122.4 kB / 16.43 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.001365/0.001365, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.6/2.6, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 59.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9734/0.9749, allocations: 159.9 MB / 1.226 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms): time 0.007125/0.9821, allocations: 3.487 MB / 1.23 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004738/0.9869, allocations: 2.503 MB / 1.232 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.9881, allocations: 35.81 kB / 1.232 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.9888, allocations: 185.9 kB / 1.232 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.9894, allocations: 178.3 kB / 1.233 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.9922, allocations: 0.9164 MB / 1.234 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.9942, allocations: 1.858 MB / 1.235 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.9954, allocations: 0.7652 MB / 1.236 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.9965, allocations: 0.6698 MB / 1.237 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.9972, allocations: 0.6923 MB / 1.237 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.9975, allocations: 196 kB / 1.238 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.9978, allocations: 212 kB / 1.238 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.9981, allocations: 366.9 kB / 1.238 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.9988, allocations: 0.7233 MB / 1.239 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/1.001, allocations: 2.277 MB / 1.241 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.001, allocations: 0 / 1.241 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.214e-06/1.001, allocations: 0 / 1.241 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.685e-05/1.001, allocations: 0 / 1.241 GB, free: 14.58 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003626/1.005, allocations: 1.795 MB / 1.243 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.005, allocations: 8.031 kB / 1.243 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/1.005, allocations: 168 kB / 1.243 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/1.007, allocations: 0.9589 MB / 1.244 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/1.007, allocations: 106.3 kB / 1.244 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/1.008, allocations: 144.3 kB / 1.244 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.01, allocations: 1.007 MB / 1.245 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.01, allocations: 3.938 kB / 1.245 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.01, allocations: 51.97 kB / 1.245 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.01, allocations: 24 kB / 1.245 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.012, allocations: 0.773 MB / 1.246 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/1.017, allocations: 3.081 MB / 1.249 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/1.019, allocations: 1.005 MB / 1.25 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/1.02, allocations: 398.6 kB / 1.25 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/1.02, allocations: 10.95 kB / 1.25 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/1.021, allocations: 0.7461 MB / 1.251 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.496e-06/1.021, allocations: 0 / 1.251 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110): time 0.003483/1.025, allocations: 1.616 MB / 1.253 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.025, allocations: 68.41 kB / 1.253 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/1.026, allocations: 0.7072 MB / 1.253 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.026, allocations: 85.69 kB / 1.254 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/1.026, allocations: 497.8 kB / 1.254 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/1.026, allocations: 262 kB / 1.254 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/1.027, allocations: 326.8 kB / 1.255 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.027, allocations: 410.7 kB / 1.255 GB, free: 88 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.028, allocations: 435.1 kB / 1.255 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.029, allocations: 0.7821 MB / 1.256 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.031, allocations: 1.121 MB / 1.257 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.031, allocations: 4 kB / 1.257 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002758/1.034, allocations: 1.449 MB / 1.259 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/1.034, allocations: 131.9 kB / 1.259 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.034, allocations: 16 kB / 1.259 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/1.034, allocations: 16 kB / 1.259 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/1.035, allocations: 171.5 kB / 1.259 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/1.035, allocations: 23.92 kB / 1.259 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/1.036, allocations: 247.1 kB / 1.259 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.036, allocations: 71.98 kB / 1.259 GB, free: 11.27 MB / 0.9825 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.0006758/1.037, allocations: 359 kB / 1.26 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.037, allocations: 115.3 kB / 1.26 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/1.037, allocations: 101.5 kB / 1.26 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.037, allocations: 15.91 kB / 1.26 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.037, allocations: 0 / 1.26 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/1.037, allocations: 180.2 kB / 1.26 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/1.038, allocations: 43.97 kB / 1.26 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/1.038, allocations: 83.88 kB / 1.26 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/1.039, allocations: 152.8 kB / 1.26 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002682/1.041, allocations: 1.321 MB / 1.262 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002472/1.044, allocations: 1.405 MB / 1.263 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009792/1.045, allocations: 0.5856 MB / 1.264 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005306/1.045, allocations: 427 kB / 1.264 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of Backend: time 8.92e-07/1.045, allocations: 0 / 1.264 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.048, allocations: 1.108 MB / 1.265 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003272/1.051, allocations: 2.04 MB / 1.267 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of Templates: time 0.02935/1.08, allocations: 15.31 MB / 1.282 GB, free: 4 MB / 0.9981 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