Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001106/0.001107, allocations: 183.2 kB / 498.1 MB, free: 5.746 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.754/1.754, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008918/0.0008917, allocations: 103.8 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 9.312 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3191, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.5225, allocations: 152.6 MB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5228, allocations: 83.94 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03501/0.5578, allocations: 12.78 MB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5579, allocations: 0 / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.5579, allocations: 16 kB / 1.384 GB, free: 12.59 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.002118/0.56, allocations: 1.148 MB / 1.386 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5601, allocations: 8.031 kB / 1.386 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.5603, allocations: 95.05 kB / 1.386 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.5614, allocations: 0.6073 MB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.5615, allocations: 61.3 kB / 1.386 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5617, allocations: 87.98 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5629, allocations: 0.596 MB / 1.387 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5629, allocations: 3.938 kB / 1.387 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.563, allocations: 27.98 kB / 1.387 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.563, allocations: 12 kB / 1.387 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.5641, allocations: 0.5243 MB / 1.388 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.5672, allocations: 1.786 MB / 1.389 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.5684, allocations: 0.5786 MB / 1.39 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.5684, allocations: 8.312 kB / 1.39 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009351/0.5694, allocations: 498.5 kB / 1.39 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.5694, allocations: 0 / 1.39 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65): time 0.002295/0.5717, allocations: 1.049 MB / 1.391 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.5718, allocations: 67.89 kB / 1.391 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.5723, allocations: 416.8 kB / 1.392 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.5724, allocations: 65.7 kB / 1.392 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.5727, allocations: 304.8 kB / 1.392 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.5728, allocations: 146.2 kB / 1.392 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.5728, allocations: 20 kB / 1.392 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.573, allocations: 370.8 kB / 1.393 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007369/0.5737, allocations: 345.8 kB / 1.393 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.5746, allocations: 0.5333 MB / 1.394 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.5754, allocations: 432.8 kB / 1.394 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5754, allocations: 4 kB / 1.394 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001938/0.5774, allocations: 1.048 MB / 1.395 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.5775, allocations: 130.8 kB / 1.395 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5775, allocations: 4 kB / 1.395 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.5775, allocations: 15.94 kB / 1.395 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.5779, allocations: 111.7 kB / 1.395 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.578, allocations: 8 kB / 1.395 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5791, allocations: 259.5 kB / 1.396 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.5792, allocations: 47.94 kB / 1.396 GB, free: 0.8281 MB / 0.8855 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.0004838/0.5797, allocations: 250.9 kB / 1.396 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.5798, allocations: 67.23 kB / 1.396 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.58, allocations: 65.55 kB / 1.396 GB, free: 456 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.58, allocations: 8 kB / 1.396 GB, free: 448 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.58, allocations: 4.062 kB / 1.396 GB, free: 444 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.58, allocations: 3.984 kB / 1.396 GB, free: 440 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.5828, allocations: 1.605 MB / 1.398 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5828, allocations: 4.031 kB / 1.398 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.5831, allocations: 71.88 kB / 1.398 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5831, allocations: 4 kB / 1.398 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.5832, allocations: 19.98 kB / 1.398 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.5832, allocations: 11.88 kB / 1.398 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5832, allocations: 0 / 1.398 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.5848, allocations: 0.9003 MB / 1.399 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5849, allocations: 124.4 kB / 1.399 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.585, allocations: 31.94 kB / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.5855, allocations: 95.89 kB / 1.399 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.5858, allocations: 96.39 kB / 1.399 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.5858, allocations: 35.98 kB / 1.399 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003831/0.5862, allocations: 298.9 kB / 1.399 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5862, allocations: 0 / 1.399 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009378/0.5872, allocations: 187.8 kB / 1.399 GB, free: 12.86 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.0004311/0.5876, allocations: 182.8 kB / 1.4 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.5899, allocations: 1.04 MB / 1.401 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5899, allocations: 3.938 kB / 1.401 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008103/0.5907, allocations: 400.3 kB / 1.401 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.5913, allocations: 97.83 kB / 1.401 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.5936, allocations: 1.25 MB / 1.402 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.5942, allocations: 0.9121 MB / 1.403 GB, free: 8.859 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.5944, allocations: 68.53 kB / 1.403 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.5946, allocations: 51.42 kB / 1.403 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/0.5946, allocations: 0 / 1.403 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of Templates: time 0.01689/0.6115, allocations: 8.705 MB / 1.412 GB, free: 176 kB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches