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.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 178.4 kB / 16.92 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 12 kB / 0.8167 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7424, allocations: 142.4 MB / 0.9558 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.001784/0.7443, allocations: 1.386 MB / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.7456, allocations: 1.124 MB / 0.9582 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.7457, allocations: 6.844 kB / 0.9582 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.682e-05/0.7458, allocations: 35.64 kB / 0.9583 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.746, allocations: 32.31 kB / 0.9583 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.7463, allocations: 157.5 kB / 0.9584 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.7467, allocations: 456.9 kB / 0.9589 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.7471, allocations: 269.1 kB / 0.9591 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.7473, allocations: 133.2 kB / 0.9593 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.7474, allocations: 168.5 kB / 0.9594 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.7475, allocations: 14 kB / 0.9594 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.7475, allocations: 14.03 kB / 0.9594 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.7476, allocations: 70.34 kB / 0.9595 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.7477, allocations: 206 kB / 0.9597 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.7481, allocations: 0.5085 MB / 0.9602 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7481, allocations: 0 / 0.9602 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7481, allocations: 0 / 0.9602 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7481, allocations: 1.375 kB / 0.9602 GB, free: 4.164 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.001165/0.7493, allocations: 0.6955 MB / 0.9609 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7493, allocations: 13.62 kB / 0.9609 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.7495, allocations: 57.03 kB / 0.961 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.7506, allocations: 0.5229 MB / 0.9615 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.7507, allocations: 37.09 kB / 0.9615 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.7508, allocations: 46.47 kB / 0.9615 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.7519, allocations: 0.5264 MB / 0.9621 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7519, allocations: 3.938 kB / 0.9621 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.752, allocations: 15.88 kB / 0.9621 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.752, allocations: 12.19 kB / 0.9621 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.7533, allocations: 480.5 kB / 0.9625 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.7549, allocations: 1.227 MB / 0.9637 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.7559, allocations: 418.5 kB / 0.9641 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/0.7565, allocations: 245.8 kB / 0.9644 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.7565, allocations: 3.562 kB / 0.9644 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.7566, allocations: 42.09 kB / 0.9644 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.7566, allocations: 0 / 0.9644 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001921/0.7585, allocations: 0.6404 MB / 0.965 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.7586, allocations: 115.7 kB / 0.9652 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.7588, allocations: 281.7 kB / 0.9654 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.7588, allocations: 32.02 kB / 0.9655 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.759, allocations: 222.6 kB / 0.9657 GB, free: 300 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.759, allocations: 118 kB / 0.9658 GB, free: 196 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.7591, allocations: 59.41 kB / 0.9658 GB, free: 152 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7593, allocations: 342 kB / 0.9662 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.7599, allocations: 189.6 kB / 0.9663 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.7606, allocations: 274.5 kB / 0.9666 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.7618, allocations: 443.9 kB / 0.967 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7619, allocations: 0.9688 kB / 0.967 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001443/0.7633, allocations: 0.5069 MB / 0.9675 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.7633, allocations: 6 kB / 0.9675 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7634, allocations: 3.375 kB / 0.9675 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.7634, allocations: 16.12 kB / 0.9676 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.7639, allocations: 105.8 kB / 0.9677 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.764, allocations: 4.062 kB / 0.9677 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.7643, allocations: 80.14 kB / 0.9677 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.7644, allocations: 15.62 kB / 0.9677 GB, free: 14.97 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.0002749/0.7647, allocations: 179.7 kB / 0.9679 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.7648, allocations: 31.28 kB / 0.9679 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.7649, allocations: 48.23 kB / 0.968 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.7649, allocations: 4.969 kB / 0.968 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7649, allocations: 1 kB / 0.968 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7649, allocations: 0.9688 kB / 0.968 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.7656, allocations: 453 kB / 0.9684 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7656, allocations: 1 kB / 0.9684 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.7661, allocations: 97.73 kB / 0.9685 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7661, allocations: 2.312 kB / 0.9685 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.7661, allocations: 15.73 kB / 0.9685 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7661, allocations: 1.969 kB / 0.9685 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7661, allocations: 5.031 kB / 0.9686 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.7676, allocations: 0.6986 MB / 0.9692 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.7677, allocations: 115.3 kB / 0.9693 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.7678, allocations: 11.03 kB / 0.9694 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.7682, allocations: 50.12 kB / 0.9694 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.7683, allocations: 65.17 kB / 0.9695 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.7684, allocations: 12.19 kB / 0.9695 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001935/0.7686, allocations: 175.8 kB / 0.9696 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7686, allocations: 0 / 0.9696 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004782/0.7691, allocations: 90.38 kB / 0.9697 GB, free: 13.51 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.000174/0.7692, allocations: 123.1 kB / 0.9698 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.7707, allocations: 469.9 kB / 0.9703 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.7707, allocations: 1.438 kB / 0.9703 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.7714, allocations: 245.8 kB / 0.9705 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.772, allocations: 51.08 kB / 0.9706 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.7735, allocations: 0.8851 MB / 0.9714 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.7739, allocations: 0.8127 MB / 0.9722 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.7741, allocations: 36.95 kB / 0.9723 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7741, allocations: 0 / 0.9723 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of Templates: time 0.008383/0.7824, allocations: 4.646 MB / 0.9768 GB, free: 9.266 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches