Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 55.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.8061, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.002939/0.8091, allocations: 1.783 MB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.8105, allocations: 1.133 MB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.8107, allocations: 5.75 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.8109, allocations: 31.59 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.8111, allocations: 29.09 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.8114, allocations: 169 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.8118, allocations: 491.7 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.8123, allocations: 280.5 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.8125, allocations: 197.8 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.8127, allocations: 241 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.8128, allocations: 60.19 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.8128, allocations: 57.97 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.8129, allocations: 124.9 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.8131, allocations: 227.8 kB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.8135, allocations: 0.6525 MB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8135, allocations: 0 / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8136, allocations: 0 / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.8136, allocations: 0 / 0.9545 GB, free: 4.938 MB / 0.7169 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.001207/0.8148, allocations: 0.7612 MB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8148, allocations: 9.625 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.945e-05/0.8149, allocations: 56.94 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.816, allocations: 487.2 kB / 0.9557 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.8161, allocations: 46.05 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.8161, allocations: 41.5 kB / 0.9558 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.8171, allocations: 0.4962 MB / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8172, allocations: 3.531 kB / 0.9563 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.8172, allocations: 19.56 kB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.8172, allocations: 10.97 kB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.8183, allocations: 418.6 kB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.8197, allocations: 1.243 MB / 0.958 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.8206, allocations: 393.2 kB / 0.9583 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.8212, allocations: 221.8 kB / 0.9585 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.8212, allocations: 12.27 kB / 0.9585 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.8212, allocations: 41.66 kB / 0.9586 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.8212, allocations: 0 / 0.9586 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001763/0.823, allocations: 0.5652 MB / 0.9591 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.8231, allocations: 107.8 kB / 0.9592 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.8233, allocations: 282 kB / 0.9595 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.8233, allocations: 31.86 kB / 0.9595 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.8234, allocations: 222.4 kB / 0.9598 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.8235, allocations: 117.4 kB / 0.9599 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.8236, allocations: 91.8 kB / 0.96 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.8237, allocations: 350 kB / 0.9603 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.8242, allocations: 158.5 kB / 0.9604 GB, free: 464 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.8248, allocations: 249 kB / 0.9607 GB, free: 284 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.8257, allocations: 395.7 kB / 0.9611 GB, free: 28 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8257, allocations: 5.062 kB / 0.9611 GB, free: 24 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001262/0.827, allocations: 458 kB / 0.9615 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.827, allocations: 6.156 kB / 0.9615 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8271, allocations: 2.125 kB / 0.9615 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.8271, allocations: 9.406 kB / 0.9615 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.8276, allocations: 102.5 kB / 0.9616 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.8276, allocations: 8.344 kB / 0.9616 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.8279, allocations: 64.86 kB / 0.9617 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.828, allocations: 12.38 kB / 0.9617 GB, free: 15.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.8282, allocations: 178.4 kB / 0.9619 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.8283, allocations: 30.41 kB / 0.9619 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.8284, allocations: 45.3 kB / 0.9619 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8285, allocations: 5.281 kB / 0.9619 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.8285, allocations: 1.188 kB / 0.9619 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8285, allocations: 0 / 0.9619 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.8291, allocations: 456.7 kB / 0.9624 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8291, allocations: 1.125 kB / 0.9624 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.8295, allocations: 83.08 kB / 0.9625 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.8296, allocations: 2 kB / 0.9625 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.8296, allocations: 23.23 kB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8296, allocations: 2.406 kB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.8296, allocations: 5.031 kB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.8309, allocations: 0.6504 MB / 0.9631 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.8309, allocations: 119.2 kB / 0.9632 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.831, allocations: 10.22 kB / 0.9632 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.8314, allocations: 39.66 kB / 0.9633 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.8315, allocations: 56.34 kB / 0.9633 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.8316, allocations: 16.84 kB / 0.9634 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001624/0.8317, allocations: 179.8 kB / 0.9635 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8318, allocations: 0 / 0.9635 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004697/0.8322, allocations: 90.06 kB / 0.9636 GB, free: 14.25 MB / 0.7325 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.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.8324, allocations: 120.4 kB / 0.9637 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.8337, allocations: 434.8 kB / 0.9641 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8337, allocations: 0.5 kB / 0.9641 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.8344, allocations: 238.8 kB / 0.9644 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.835, allocations: 43.8 kB / 0.9644 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.8364, allocations: 0.8483 MB / 0.9652 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.8368, allocations: 0.8163 MB / 0.966 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.8371, allocations: 50.72 kB / 0.9661 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.8372, allocations: 42.08 kB / 0.9661 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/0.8372, allocations: 0 / 0.9661 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.008105/0.8453, allocations: 3.52 MB / 0.9696 GB, free: 10.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches