Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001506/0.001506, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001644/0.001644, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.17 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.658/2.658, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 151.7 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms): time 0.005554/1.119, allocations: 3.466 MB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005063/1.124, allocations: 2.512 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/1.125, allocations: 35.81 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005517/1.126, allocations: 181.9 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000611/1.127, allocations: 174.3 kB / 1.174 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/1.129, allocations: 0.9129 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002246/1.131, allocations: 1.847 MB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/1.132, allocations: 0.7574 MB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009407/1.133, allocations: 0.6737 MB / 1.178 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/1.134, allocations: 0.6923 MB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/1.134, allocations: 196 kB / 1.179 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/1.135, allocations: 216 kB / 1.179 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/1.135, allocations: 354.9 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000685/1.136, allocations: 0.7349 MB / 1.18 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/1.138, allocations: 2.273 MB / 1.182 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.138, allocations: 0 / 1.182 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.076e-06/1.138, allocations: 0 / 1.182 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.151e-05/1.138, allocations: 4 kB / 1.182 GB, free: 4.785 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003965/1.142, allocations: 1.791 MB / 1.184 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.142, allocations: 12.92 kB / 1.184 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/1.143, allocations: 168 kB / 1.184 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/1.145, allocations: 0.9512 MB / 1.185 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.145, allocations: 106.3 kB / 1.185 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/1.145, allocations: 144.3 kB / 1.185 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/1.147, allocations: 1.003 MB / 1.186 GB, free: 496 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.147, allocations: 3.938 kB / 1.186 GB, free: 492 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.147, allocations: 55.91 kB / 1.186 GB, free: 436 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/1.147, allocations: 24 kB / 1.186 GB, free: 412 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/1.149, allocations: 0.773 MB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/1.156, allocations: 3.081 MB / 1.19 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/1.159, allocations: 1.002 MB / 1.191 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/1.16, allocations: 410.6 kB / 1.191 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/1.16, allocations: 8.656 kB / 1.191 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/1.162, allocations: 0.7383 MB / 1.192 GB, free: 10.29 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 6.142e-06/1.162, allocations: 0 / 1.192 GB, free: 10.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=110): time 0.005711/1.168, allocations: 1.62 MB / 1.194 GB, free: 8.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.168, allocations: 72.39 kB / 1.194 GB, free: 8.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.17, allocations: 0.7094 MB / 1.194 GB, free: 7.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003714/1.17, allocations: 81.7 kB / 1.194 GB, free: 7.789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/1.171, allocations: 0.49 MB / 1.195 GB, free: 7.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/1.172, allocations: 258.1 kB / 1.195 GB, free: 7.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009262/1.173, allocations: 326.8 kB / 1.195 GB, free: 6.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.173, allocations: 418.6 kB / 1.196 GB, free: 6.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/1.175, allocations: 435.1 kB / 1.196 GB, free: 5.871 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/1.177, allocations: 0.7782 MB / 1.197 GB, free: 4.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/1.18, allocations: 1.109 MB / 1.198 GB, free: 3.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-05/1.18, allocations: 0 / 1.198 GB, free: 3.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004913/1.185, allocations: 1.461 MB / 1.2 GB, free: 2.172 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/1.185, allocations: 134.8 kB / 1.2 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-05/1.185, allocations: 12 kB / 1.2 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.221e-05/1.185, allocations: 16 kB / 1.2 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/1.186, allocations: 163.5 kB / 1.2 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.436e-05/1.186, allocations: 32.02 kB / 1.2 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.188, allocations: 251.1 kB / 1.2 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/1.189, allocations: 71.98 kB / 1.2 GB, free: 1.48 MB / 0.92 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.00106/1.19, allocations: 358.5 kB / 1.201 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/1.19, allocations: 111.3 kB / 1.201 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/1.19, allocations: 101.5 kB / 1.201 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.191, allocations: 11.91 kB / 1.201 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.191, allocations: 0 / 1.201 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/1.191, allocations: 176.2 kB / 1.201 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.191, allocations: 39.97 kB / 1.201 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.192, allocations: 91.88 kB / 1.201 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005246/1.193, allocations: 152.8 kB / 1.201 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004462/1.197, allocations: 1.314 MB / 1.202 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003969/1.201, allocations: 1.416 MB / 1.204 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001548/1.203, allocations: 0.5856 MB / 1.204 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009285/1.204, allocations: 427 kB / 1.205 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Backend: time 9.42e-07/1.204, allocations: 0 / 1.205 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004043/1.208, allocations: 1.109 MB / 1.206 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004982/1.213, allocations: 2.035 MB / 1.208 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.04359/1.256, allocations: 15.23 MB / 1.223 GB, free: 10.31 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches