Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.yFloSenAla|ala.uCooDam|ala.uHeaDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.yFloSenAla|ala.uCooDam|ala.uHeaDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.2/2.2, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 182.9 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.1 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 108.3 kB / 0.9396 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004779, allocations: 10.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3288, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.5271, allocations: 153.4 MB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5275, allocations: 84 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03564/0.5631, allocations: 12.77 MB / 1.392 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.596e-06/0.5632, allocations: 0 / 1.392 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.575e-05/0.5632, allocations: 16 kB / 1.392 GB, free: 3.145 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002516/0.5658, allocations: 1.157 MB / 1.393 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.5658, allocations: 8.562 kB / 1.393 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.5661, allocations: 99.05 kB / 1.393 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5673, allocations: 0.5919 MB / 1.393 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.5674, allocations: 65.3 kB / 1.393 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.5675, allocations: 87.92 kB / 1.394 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5688, allocations: 0.5999 MB / 1.394 GB, free: 416 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5688, allocations: 0 / 1.394 GB, free: 416 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.5689, allocations: 27.98 kB / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5689, allocations: 16 kB / 1.394 GB, free: 372 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5701, allocations: 0.5204 MB / 1.395 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.5731, allocations: 1.79 MB / 1.396 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5743, allocations: 0.5793 MB / 1.397 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.5743, allocations: 8.359 kB / 1.397 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5753, allocations: 0.4906 MB / 1.397 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=65): time 2.305e-06/0.5753, allocations: 0 / 1.397 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of matching and sorting (n=65): time 0.002299/0.5776, allocations: 1.049 MB / 1.399 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5777, allocations: 55.97 kB / 1.399 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.5782, allocations: 432.7 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5783, allocations: 57.7 kB / 1.399 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.5786, allocations: 304.8 kB / 1.399 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5788, allocations: 150.2 kB / 1.399 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.5788, allocations: 20 kB / 1.399 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.579, allocations: 378.8 kB / 1.4 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/0.5798, allocations: 337.8 kB / 1.4 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.5807, allocations: 0.5373 MB / 1.401 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.5815, allocations: 436.8 kB / 1.401 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5815, allocations: 0 / 1.401 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002027/0.5835, allocations: 1.052 MB / 1.402 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.5837, allocations: 133 kB / 1.402 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5837, allocations: 12 kB / 1.402 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.5837, allocations: 8 kB / 1.402 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.5841, allocations: 103.7 kB / 1.402 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5842, allocations: 8 kB / 1.402 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.5852, allocations: 259.5 kB / 1.403 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.5853, allocations: 51.94 kB / 1.403 GB, free: 7.359 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel6.u,$PRE.ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel7.t_next,$whenCondition7,$PRE.ala.truDel6.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel7.t_next,ala.truDel6.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,$PRE.ala.les.lesHys.y,ala.les.lesHys.y,ala.truDel.u,ala.truDel.y,$PRE.ala.greThr.greHys.y,ala.greThr.greHys.y,$PRE.ala.gre.greHys.y,ala.gre.greHys.y,ala.truDel1.u,ala.truDel1.y,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.booToInt1.y,ala.and3.y,ala.assMes1.u,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.cloDam1.lesHys.y,$PRE.ala.gre3.greHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.u,ala.truDel6.y,ala.truDel7.u,ala.truDel7.y,ala.cloBotDam.y,ala.booToInt7.u,$PRE.supCooFan.y,supCooFan.y,$PRE.colDammSta.y,colDammSta.y,$PRE.supHeaFan.y,supHeaFan.y,$PRE.heaDammSta.y,heaDammSta.y,ala.and3.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.5857, allocations: 246.8 kB / 1.403 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.5858, allocations: 71.23 kB / 1.403 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.586, allocations: 61.55 kB / 1.403 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.586, allocations: 8 kB / 1.403 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.586, allocations: 3.984 kB / 1.403 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.586, allocations: 3.984 kB / 1.403 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.5886, allocations: 1.609 MB / 1.405 GB, free: 5.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5886, allocations: 0 / 1.405 GB, free: 5.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.5889, allocations: 71.88 kB / 1.405 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5889, allocations: 4 kB / 1.405 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.589, allocations: 15.98 kB / 1.405 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.589, allocations: 7.953 kB / 1.405 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.589, allocations: 12.03 kB / 1.405 GB, free: 5.188 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.5906, allocations: 0.8964 MB / 1.406 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5907, allocations: 124.4 kB / 1.406 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.5908, allocations: 35.94 kB / 1.406 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.5913, allocations: 91.89 kB / 1.406 GB, free: 3.996 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5915, allocations: 104.3 kB / 1.406 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.5916, allocations: 35.98 kB / 1.406 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003141/0.5919, allocations: 290.9 kB / 1.406 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5919, allocations: 0 / 1.406 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006164/0.5925, allocations: 187.8 kB / 1.406 GB, free: 3.391 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 55 (ala.truDel6.u,ala.truDel.u,ala.truDel1.u,ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,ala.les.lesHys.y,ala.truDel.y,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre.greHys.y,ala.truDel1.y,ala.truDel1.t_next,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.and3.y,ala.assMes1.u,ala.cloDam.lesHys.y,ala.cloDam1.lesHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.y,ala.truDel6.t_next,ala.truDel7.y,ala.truDel7.t_next,ala.cloBotDam.y,ala.booToInt7.u,supCooFan.y,colDammSta.y,supHeaFan.y,heaDammSta.y,ala.booToInt1.y) * Number of discrete states: 10 (ala.truDel7.t_next,ala.truDel6.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre3.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam1.lesHys.y,ala.cloDam.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002609/0.5928, allocations: 172.5 kB / 1.407 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.5946, allocations: 1.04 MB / 1.408 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5946, allocations: 0 / 1.408 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.5954, allocations: 412.3 kB / 1.408 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.5959, allocations: 91.59 kB / 1.408 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.5979, allocations: 1.256 MB / 1.409 GB, free: 356 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.5983, allocations: 0.912 MB / 1.41 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002675/0.5986, allocations: 68.53 kB / 1.41 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.5988, allocations: 51.41 kB / 1.41 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.5988, allocations: 0 / 1.41 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of Templates: time 0.01513/0.6139, allocations: 8.691 MB / 1.419 GB, free: 6.727 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches