Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VColDucDis_flow|ala.VHotDucDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.VHeaMax_flow|ala.yColFloSenAla|ala.yHotFloSenAla|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VColDucDis_flow|ala.VHotDucDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.VHeaMax_flow|ala.yColFloSenAla|ala.yHotFloSenAla|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 113.4 kB / 16.42 MB, free: 6.516 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.001801/0.001801, allocations: 190.7 kB / 17.35 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8304, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms): time 0.003677/0.8341, allocations: 2.725 MB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.8368, allocations: 2.12 MB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.8372, allocations: 20.38 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.8375, allocations: 119.8 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.8378, allocations: 137.8 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.8393, allocations: 0.7505 MB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.8407, allocations: 1.381 MB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007309/0.8414, allocations: 494.8 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.8421, allocations: 0.5074 MB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.8427, allocations: 0.5246 MB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.843, allocations: 142.2 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.8434, allocations: 157.6 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.8437, allocations: 250 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005653/0.8442, allocations: 0.5458 MB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.8463, allocations: 1.641 MB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8463, allocations: 1 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8463, allocations: 0 / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.8464, allocations: 4 kB / 1.1 GB, free: 14.75 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003032/0.8494, allocations: 1.414 MB / 1.101 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8495, allocations: 8.625 kB / 1.101 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.8497, allocations: 116.3 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.8519, allocations: 0.7923 MB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.852, allocations: 73.45 kB / 1.102 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.8522, allocations: 107.6 kB / 1.102 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.8542, allocations: 0.7315 MB / 1.103 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.8542, allocations: 4.797 kB / 1.103 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.8543, allocations: 38.81 kB / 1.103 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.8543, allocations: 16.09 kB / 1.103 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.856, allocations: 0.5749 MB / 1.104 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.8603, allocations: 2.201 MB / 1.106 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.8618, allocations: 0.7039 MB / 1.106 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.8626, allocations: 317.9 kB / 1.107 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.8627, allocations: 6.094 kB / 1.107 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.8639, allocations: 0.5725 MB / 1.107 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.8639, allocations: 0 / 1.107 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003037/0.867, allocations: 1.227 MB / 1.109 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.867, allocations: 62.91 kB / 1.109 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.8677, allocations: 0.5327 MB / 1.109 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.8678, allocations: 78.75 kB / 1.109 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.8681, allocations: 360.5 kB / 1.11 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.8683, allocations: 188.3 kB / 1.11 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.8687, allocations: 248.3 kB / 1.11 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.8689, allocations: 383.9 kB / 1.11 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.8698, allocations: 354.2 kB / 1.111 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.8709, allocations: 0.5905 MB / 1.111 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.8726, allocations: 0.8826 MB / 1.112 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.8726, allocations: 2.156 kB / 1.112 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002447/0.8751, allocations: 1.172 MB / 1.113 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.8752, allocations: 126.5 kB / 1.113 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8752, allocations: 7.719 kB / 1.113 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.8752, allocations: 20.59 kB / 1.113 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.8758, allocations: 126.5 kB / 1.114 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.8758, allocations: 17.5 kB / 1.114 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.8772, allocations: 233.8 kB / 1.114 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.8773, allocations: 53.69 kB / 1.114 GB, free: 7.465 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 96 ($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.truDel.t_next,$whenCondition24,$PRE.ala.truDel1.t_next,$whenCondition21,$PRE.ala.truDel2.t_next,$whenCondition18,$PRE.ala.truDel3.t_next,$whenCondition15,$PRE.ala.truDel4.t_next,$whenCondition12,$PRE.ala.truDel5.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.conInt.y,ala.greThr1.y,ala.booToInt1.y,heaDammSta.y,$PRE.heaDammSta.y,supHeaFan.y,$PRE.supHeaFan.y,colDammSta.y,$PRE.colDammSta.y,supCooFan.y,$PRE.supCooFan.y,ala.not8.y,ala.cloDam1.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.truDel5.y,ala.truDel5.u,ala.not7.y,ala.gre2.greHys.y,$PRE.ala.gre2.greHys.y,ala.truDel4.y,ala.truDel4.u,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.yHotLeaDamAla,ala.yHotFloSenAla,ala.yColLeaDamAla,ala.yColFloSenAla,ala.yLowFloAla,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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.0005778/0.8779, allocations: 293.8 kB / 1.114 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8781, allocations: 77.55 kB / 1.114 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.8782, allocations: 77 kB / 1.114 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.8783, allocations: 8.156 kB / 1.114 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8783, allocations: 0 / 1.114 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.8784, allocations: 145.6 kB / 1.114 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.8786, allocations: 36.03 kB / 1.114 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.8791, allocations: 74.55 kB / 1.115 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.8793, allocations: 118.9 kB / 1.115 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002339/0.8817, allocations: 1.035 MB / 1.116 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002036/0.8837, allocations: 1.117 MB / 1.117 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008563/0.8846, allocations: 448.1 kB / 1.117 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000367/0.885, allocations: 328.8 kB / 1.117 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of Backend: time 8.21e-07/0.885, allocations: 0 / 1.117 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.8869, allocations: 0.9387 MB / 1.118 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002032/0.889, allocations: 1.589 MB / 1.12 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.0244/0.9134, allocations: 12.09 MB / 1.132 GB, free: 2.086 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches