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.331/2.331, allocations: 390.5 MB / 398 MB, free: 10.95 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.001157/0.001157, allocations: 191.5 kB / 491.2 MB, free: 1.578 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009401/0.0009402, allocations: 90.16 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.836e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2422, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8511/1.093, allocations: 150.9 MB / 1.36 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/1.094, allocations: 75.14 kB / 1.36 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01475/1.108, allocations: 6.016 MB / 1.366 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.108, allocations: 0 / 1.366 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.109, allocations: 7.781 kB / 1.366 GB, free: 32.8 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.001043/1.11, allocations: 0.6787 MB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.11, allocations: 7.688 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/1.11, allocations: 53.84 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/1.11, allocations: 238.7 kB / 1.367 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/1.11, allocations: 19.66 kB / 1.367 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/1.11, allocations: 30.66 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004717/1.11, allocations: 291.1 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/1.111, allocations: 389.1 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.111, allocations: 3.938 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.111, allocations: 0 / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.111, allocations: 15.5 kB / 1.367 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.112, allocations: 1.191 MB / 1.369 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/1.113, allocations: 334.4 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.113, allocations: 165.7 kB / 1.369 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/1.113, allocations: 13.2 kB / 1.369 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/1.113, allocations: 34.25 kB / 1.369 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/1.113, allocations: 0 / 1.369 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0004693/1.114, allocations: 283.7 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/1.114, allocations: 106.7 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/1.114, allocations: 232.9 kB / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/1.114, allocations: 25.7 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/1.114, allocations: 214.4 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/1.114, allocations: 99.02 kB / 1.37 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/1.114, allocations: 0 / 1.37 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/1.114, allocations: 340.6 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/1.114, allocations: 101.2 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.114, allocations: 135.2 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/1.115, allocations: 85.95 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.115, allocations: 3.938 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003531/1.115, allocations: 277.7 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.115, allocations: 3.969 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.115, allocations: 3.844 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.115, allocations: 0 / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/1.115, allocations: 105.5 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/1.115, allocations: 11.83 kB / 1.371 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/1.116, allocations: 69.05 kB / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.116, allocations: 10.64 kB / 1.371 GB, free: 30.37 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 9.349e-05/1.116, allocations: 113.6 kB / 1.371 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/1.116, allocations: 31.16 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/1.116, allocations: 36.06 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.116, allocations: 3.844 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.116, allocations: 3.844 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.116, allocations: 6.531 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/1.116, allocations: 408.1 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.116, allocations: 0 / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/1.117, allocations: 106.2 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.117, allocations: 0 / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.117, allocations: 3.938 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.117, allocations: 2.859 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.117, allocations: 7.75 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/1.117, allocations: 0.5553 MB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/1.117, allocations: 104.4 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/1.118, allocations: 2.906 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/1.118, allocations: 55.98 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.118, allocations: 68.38 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.118, allocations: 14.03 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.382e-05/1.118, allocations: 154.2 kB / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 0 / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003668/1.119, allocations: 77.31 kB / 1.373 GB, free: 29.5 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.0001562/1.119, allocations: 120.8 kB / 1.373 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00039/1.119, allocations: 271.3 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.119, allocations: 3.438 kB / 1.373 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/1.119, allocations: 179.2 kB / 1.373 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/1.12, allocations: 32.38 kB / 1.373 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/1.121, allocations: 479.3 kB / 1.374 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/1.121, allocations: 0.8244 MB / 1.375 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001793/1.121, allocations: 31.73 kB / 1.375 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.121, allocations: 28.48 kB / 1.375 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.121, allocations: 4 kB / 1.375 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.005866/1.127, allocations: 3.376 MB / 1.378 GB, free: 28.26 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