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.ActiveAirFlow.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.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001265/0.001265, allocations: 183.4 kB / 498.1 MB, free: 5.738 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.549/1.549, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009216/0.0009216, allocations: 88.34 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005508, allocations: 10.03 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3439, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.543, allocations: 150.3 MB / 1.37 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5433, allocations: 79.89 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007637/0.5509, allocations: 3.111 MB / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.167e-06/0.551, allocations: 0 / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.551, allocations: 7.938 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006584/0.5516, allocations: 472.8 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5517, allocations: 8.031 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.5518, allocations: 23.72 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.5519, allocations: 196.2 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.552, allocations: 16.38 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.552, allocations: 20 kB / 1.374 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.5524, allocations: 199.3 kB / 1.374 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5524, allocations: 4 kB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.5525, allocations: 8 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5525, allocations: 4 kB / 1.374 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.5529, allocations: 181.6 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/0.5538, allocations: 0.6075 MB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.5542, allocations: 146.7 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5542, allocations: 7.953 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5542, allocations: 38.5 kB / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.5542, allocations: 0 / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006732/0.5549, allocations: 237.7 kB / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.555, allocations: 51.41 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.5551, allocations: 182 kB / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.5552, allocations: 29.7 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.5552, allocations: 132.3 kB / 1.375 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.5553, allocations: 43.45 kB / 1.375 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.5553, allocations: 4 kB / 1.375 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5554, allocations: 326.8 kB / 1.376 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5556, allocations: 59.97 kB / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5558, allocations: 63.95 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.5559, allocations: 61.73 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5559, allocations: 3.938 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003742/0.5563, allocations: 169.4 kB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5563, allocations: 13.36 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5564, allocations: 0 / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5564, allocations: 4 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.5566, allocations: 31.97 kB / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5566, allocations: 0 / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5567, allocations: 19.88 kB / 1.376 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5567, allocations: 7.938 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001137/0.5568, allocations: 141.7 kB / 1.376 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.5569, allocations: 15.81 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.5569, allocations: 25.47 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5569, allocations: 4 kB / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.557, allocations: 0 / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.557, allocations: 0 / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.5572, allocations: 277.5 kB / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5573, allocations: 0 / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.5574, allocations: 23.92 kB / 1.377 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5574, allocations: 8 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5574, allocations: 0 / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.5575, allocations: 11.88 kB / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5575, allocations: 0 / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.5579, allocations: 282 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.558, allocations: 96.91 kB / 1.377 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.558, allocations: 0 / 1.377 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5581, allocations: 19.98 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.5582, allocations: 23.92 kB / 1.377 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5582, allocations: 4 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000104/0.5583, allocations: 140.1 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5584, allocations: 0 / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002614/0.5586, allocations: 39.89 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001488/0.5588, allocations: 120 kB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.5592, allocations: 151.9 kB / 1.377 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5592, allocations: 0 / 1.377 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.5594, allocations: 83.89 kB / 1.377 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5596, allocations: 20.17 kB / 1.377 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.5603, allocations: 392.3 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5605, allocations: 0.7324 MB / 1.379 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.431e-05/0.5606, allocations: 17.42 kB / 1.379 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.5607, allocations: 19.42 kB / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5607, allocations: 0 / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of Templates: time 0.004058/0.5648, allocations: 1.472 MB / 1.38 GB, free: 0.8125 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches