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.209/2.209, allocations: 390.5 MB / 398 MB, free: 10.91 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.001097/0.001097, allocations: 184.3 kB / 491.2 MB, free: 1.555 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.51/1.51, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001002/0.001002, allocations: 84.91 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.638e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3128, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.41, allocations: 152.6 MB / 1.361 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.41, allocations: 79.81 kB / 1.361 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03478/1.445, allocations: 12.66 MB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/1.445, allocations: 0 / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.653e-05/1.445, allocations: 15.59 kB / 1.374 GB, free: 32.59 MB / 0.8386 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.001945/1.447, allocations: 1.069 MB / 1.375 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.447, allocations: 11.59 kB / 1.375 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/1.448, allocations: 95.11 kB / 1.375 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/1.449, allocations: 0.5958 MB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/1.449, allocations: 27.94 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/1.449, allocations: 71.81 kB / 1.376 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006454/1.45, allocations: 342.7 kB / 1.376 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/1.45, allocations: 454.3 kB / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/1.45, allocations: 0 / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/1.45, allocations: 6.625 kB / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.45, allocations: 11.56 kB / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/1.453, allocations: 1.686 MB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/1.454, allocations: 464.8 kB / 1.379 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/1.454, allocations: 191.7 kB / 1.379 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/1.454, allocations: 4.219 kB / 1.379 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/1.455, allocations: 401.1 kB / 1.379 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 2.144e-06/1.455, allocations: 0 / 1.379 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.0009322/1.456, allocations: 0.5867 MB / 1.38 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.456, allocations: 63.64 kB / 1.38 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/1.456, allocations: 373.1 kB / 1.38 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/1.456, allocations: 48.33 kB / 1.38 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/1.456, allocations: 296.3 kB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.456, allocations: 148.8 kB / 1.381 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/1.456, allocations: 7.625 kB / 1.381 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.457, allocations: 373.7 kB / 1.381 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/1.457, allocations: 241.8 kB / 1.381 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/1.457, allocations: 434 kB / 1.382 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/1.458, allocations: 258.5 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.458, allocations: 0 / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001317/1.459, allocations: 0.7532 MB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/1.46, allocations: 129.5 kB / 1.383 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.46, allocations: 7.859 kB / 1.383 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.46, allocations: 15.47 kB / 1.383 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/1.46, allocations: 103.4 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.46, allocations: 7.688 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.461, allocations: 237.7 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/1.461, allocations: 45.02 kB / 1.383 GB, free: 29.2 MB / 0.8386 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 () * 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.0002298/1.461, allocations: 171.8 kB / 1.383 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/1.461, allocations: 62.42 kB / 1.383 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/1.462, allocations: 56.92 kB / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.462, allocations: 7.562 kB / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.462, allocations: 64 / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/1.462, allocations: 7.984 kB / 1.383 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/1.463, allocations: 1.33 MB / 1.385 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.463, allocations: 3.984 kB / 1.385 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/1.464, allocations: 74 kB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.464, allocations: 3.844 kB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/1.464, allocations: 11.7 kB / 1.385 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.464, allocations: 7.828 kB / 1.385 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.464, allocations: 4.031 kB / 1.385 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/1.464, allocations: 0.703 MB / 1.385 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/1.464, allocations: 123.9 kB / 1.386 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/1.465, allocations: 18.3 kB / 1.386 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/1.465, allocations: 82 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.465, allocations: 104 kB / 1.386 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/1.465, allocations: 37.7 kB / 1.386 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002174/1.465, allocations: 255.2 kB / 1.386 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.465, allocations: 0 / 1.386 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005705/1.466, allocations: 173.3 kB / 1.386 GB, free: 27.82 MB / 0.8386 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) * 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.0002308/1.466, allocations: 160.4 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009268/1.467, allocations: 0.836 MB / 1.387 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.467, allocations: 5.188 kB / 1.387 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/1.468, allocations: 310.5 kB / 1.388 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/1.468, allocations: 83 kB / 1.388 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.469, allocations: 0.7775 MB / 1.388 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/1.47, allocations: 0.9067 MB / 1.389 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002412/1.47, allocations: 71.12 kB / 1.389 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/1.47, allocations: 45.45 kB / 1.389 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.47, allocations: 0 / 1.389 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.01229/1.482, allocations: 8.072 MB / 1.397 GB, free: 22.23 MB / 0.8386 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