Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.214/2.214, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001047/0.001047, allocations: 168.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001175/0.001176, allocations: 95.94 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2717, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.288, allocations: 151.6 MB / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.288, allocations: 77.81 kB / 1.367 GB, free: 2.418 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01571/1.304, allocations: 6.05 MB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.304, allocations: 0 / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.19e-05/1.304, allocations: 8 kB / 1.373 GB, free: 13.21 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001112/1.305, allocations: 0.6754 MB / 1.374 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.305, allocations: 12.03 kB / 1.374 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/1.305, allocations: 51.34 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/1.306, allocations: 234.3 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/1.306, allocations: 38.25 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/1.306, allocations: 51.25 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/1.306, allocations: 450.1 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/1.306, allocations: 0 / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/1.306, allocations: 17.69 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.306, allocations: 12 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/1.307, allocations: 313.3 kB / 1.375 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/1.309, allocations: 1.304 MB / 1.376 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/1.309, allocations: 352.5 kB / 1.376 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/1.309, allocations: 179.6 kB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/1.309, allocations: 4 kB / 1.376 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.31, allocations: 42.45 kB / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/1.31, allocations: 0 / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0006191/1.31, allocations: 306.6 kB / 1.377 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/1.31, allocations: 118.2 kB / 1.377 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/1.311, allocations: 271.7 kB / 1.377 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/1.311, allocations: 31.89 kB / 1.377 GB, free: 9.488 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.311, allocations: 211.5 kB / 1.377 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/1.311, allocations: 119.5 kB / 1.377 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/1.311, allocations: 3.5 kB / 1.378 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.311, allocations: 352.7 kB / 1.378 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/1.311, allocations: 105 kB / 1.378 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/1.311, allocations: 145 kB / 1.378 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/1.312, allocations: 90.03 kB / 1.378 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.312, allocations: 0 / 1.378 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005044/1.312, allocations: 314.3 kB / 1.378 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.312, allocations: 4 kB / 1.378 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.312, allocations: 0 / 1.378 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.312, allocations: 7.953 kB / 1.378 GB, free: 8.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/1.313, allocations: 107.7 kB / 1.379 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.313, allocations: 3.984 kB / 1.379 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/1.313, allocations: 75.58 kB / 1.379 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.313, allocations: 15.11 kB / 1.379 GB, free: 8.242 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001098/1.313, allocations: 128.8 kB / 1.379 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.304e-05/1.313, allocations: 39.53 kB / 1.379 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/1.313, allocations: 43.33 kB / 1.379 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.313, allocations: 7.953 kB / 1.379 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.313, allocations: 0 / 1.379 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.313, allocations: 3.984 kB / 1.379 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/1.314, allocations: 478.8 kB / 1.379 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.314, allocations: 4 kB / 1.379 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/1.314, allocations: 99.55 kB / 1.379 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.314, allocations: 11.92 kB / 1.379 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/1.314, allocations: 11.19 kB / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.314, allocations: 0 / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.314, allocations: 7.953 kB / 1.379 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/1.315, allocations: 0.5697 MB / 1.38 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/1.315, allocations: 119.6 kB / 1.38 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/1.315, allocations: 11.39 kB / 1.38 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/1.316, allocations: 63.12 kB / 1.38 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.316, allocations: 65.22 kB / 1.38 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/1.316, allocations: 23.36 kB / 1.38 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001892/1.316, allocations: 198.1 kB / 1.38 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.316, allocations: 4 kB / 1.38 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003696/1.316, allocations: 88.44 kB / 1.381 GB, free: 6.508 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0001898/1.317, allocations: 122.9 kB / 1.381 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000488/1.317, allocations: 283.9 kB / 1.381 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.317, allocations: 4 kB / 1.381 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/1.317, allocations: 190.4 kB / 1.381 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/1.318, allocations: 45.72 kB / 1.381 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/1.319, allocations: 0.4908 MB / 1.382 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/1.319, allocations: 0.8236 MB / 1.382 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001949/1.319, allocations: 38.06 kB / 1.383 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.319, allocations: 31.42 kB / 1.383 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.319, allocations: 0 / 1.383 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of Templates: time 0.008102/1.328, allocations: 3.778 MB / 1.386 GB, free: 0.9727 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches