Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_latest_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.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_latest_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.001298/0.001298, allocations: 114 kB / 16.42 MB, free: 6.402 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.001257/0.001257, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.844, allocations: 157.4 MB / 1.208 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms): time 0.004936/0.849, allocations: 3.019 MB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003684/0.8527, allocations: 2.379 MB / 1.214 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.8535, allocations: 23.94 kB / 1.214 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.8538, allocations: 134.3 kB / 1.214 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.8542, allocations: 146.4 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.8561, allocations: 0.9103 MB / 1.215 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.8578, allocations: 1.667 MB / 1.217 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.8586, allocations: 0.556 MB / 1.217 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007543/0.8594, allocations: 0.6153 MB / 1.218 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.8601, allocations: 0.6224 MB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.8603, allocations: 176 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.8606, allocations: 188 kB / 1.219 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.8609, allocations: 307 kB / 1.219 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.8614, allocations: 0.6496 MB / 1.22 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.8633, allocations: 1.98 MB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8633, allocations: 0 / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8633, allocations: 0 / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.8634, allocations: 0 / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003039/0.8664, allocations: 1.608 MB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8665, allocations: 11.97 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.8667, allocations: 139.6 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.8688, allocations: 0.8639 MB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.8689, allocations: 98.34 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.8691, allocations: 120.4 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.8709, allocations: 0.8706 MB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.8709, allocations: 3.938 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.871, allocations: 47.95 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.8711, allocations: 16 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.8728, allocations: 0.6754 MB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.8771, allocations: 2.594 MB / 1.228 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.879, allocations: 0.8985 MB / 1.229 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.8798, allocations: 370.3 kB / 1.23 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.8799, allocations: 4.562 kB / 1.23 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.8813, allocations: 0.6875 MB / 1.23 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=99): time 4.198e-06/0.8813, allocations: 0 / 1.23 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99): time 0.003417/0.8847, allocations: 1.491 MB / 1.232 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.8848, allocations: 68.41 kB / 1.232 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.8856, allocations: 0.6089 MB / 1.232 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/0.8858, allocations: 89.62 kB / 1.232 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.8862, allocations: 409 kB / 1.233 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.8864, allocations: 221.1 kB / 1.233 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.8868, allocations: 298.9 kB / 1.233 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.887, allocations: 394.7 kB / 1.234 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.8881, allocations: 426.4 kB / 1.234 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.8894, allocations: 0.7205 MB / 1.235 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.8913, allocations: 1.069 MB / 1.236 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.8914, allocations: 3.938 kB / 1.236 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003005/0.8944, allocations: 1.423 MB / 1.237 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.8945, allocations: 160.4 kB / 1.237 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.8945, allocations: 12 kB / 1.237 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.8946, allocations: 15.94 kB / 1.237 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.8952, allocations: 147.7 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.8952, allocations: 27.91 kB / 1.238 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8966, allocations: 254.8 kB / 1.238 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.8968, allocations: 71.97 kB / 1.238 GB, free: 14.94 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 119 ($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.fanIni.u,$PRE.ala.truDel.t_next,$whenCondition32,$PRE.ala.truDel1.t_next,$whenCondition29,$PRE.ala.truDel2.t_next,$whenCondition26,$PRE.ala.truDel3.t_next,$whenCondition23,$PRE.ala.truDel4.t_next,$whenCondition20,$PRE.ala.truDel5.t_next,$whenCondition17,$PRE.ala.truDel6.t_next,$whenCondition14,$PRE.ala.fanIni.t_next,$whenCondition11,$whenCondition9,$whenCondition10,$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.fanIni.t_next,ala.occMod.y,ala.conInt.y,ala.greThr1.y,ala.booToInt1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,heaDammSta.y,$PRE.heaDammSta.y,supHeaFan.y,$PRE.supHeaFan.y,colDammSta.y,$PRE.colDammSta.y,supCooFan.y,$PRE.supCooFan.y,ala.isOcc.y,ala.fanIni.y,ala.fanIni.u,ala.truDel6.y,ala.truDel6.u,ala.leaDamAla1.y,ala.cloDam1.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.truDel5.y,ala.truDel5.u,ala.gre2.greHys.y,$PRE.ala.gre2.greHys.y,ala.truDel4.y,ala.truDel4.u,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.and4.y,ala.not1.y,ala.and8.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,$whenCondition13,$whenCondition12,$whenCondition16,$whenCondition15,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition21,$whenCondition25,$whenCondition24,$whenCondition28,$whenCondition27,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * 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.0005887/0.8974, allocations: 321.5 kB / 1.238 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.8975, allocations: 94.95 kB / 1.238 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.8977, allocations: 96.44 kB / 1.238 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8978, allocations: 7.984 kB / 1.238 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8978, allocations: 0 / 1.238 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.8979, allocations: 155.9 kB / 1.239 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.8981, allocations: 43.91 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.8986, allocations: 79.89 kB / 1.239 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.8989, allocations: 140.8 kB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002655/0.9015, allocations: 1.224 MB / 1.24 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002439/0.904, allocations: 1.322 MB / 1.241 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001055/0.9051, allocations: 0.5388 MB / 1.242 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005196/0.9056, allocations: 371.1 kB / 1.242 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of Backend: time 3.9e-07/0.9056, allocations: 0 / 1.242 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.9083, allocations: 1.126 MB / 1.243 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002551/0.9108, allocations: 1.775 MB / 1.245 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of Templates: time 0.02536/0.9362, allocations: 14.22 MB / 1.259 GB, free: 9.41 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches