Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001613/0.001613, allocations: 113.2 kB / 16.37 MB, free: 5.984 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.001896/0.001896, allocations: 194.7 kB / 17.31 MB, free: 5.602 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.28 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2947, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003295/0.298, allocations: 1.763 MB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2998, allocations: 1.166 MB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.3001, allocations: 4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.3003, allocations: 55.27 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.3005, allocations: 55.34 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.301, allocations: 191.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000589/0.3016, allocations: 0.4931 MB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.3021, allocations: 284.7 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.3024, allocations: 199.3 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.3027, allocations: 250.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3028, allocations: 60 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.908e-05/0.3029, allocations: 56 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.303, allocations: 127.6 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.3032, allocations: 234.7 kB / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.3039, allocations: 0.6927 MB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3039, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3039, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.3039, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001454/0.3054, allocations: 0.7641 MB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3054, allocations: 8.031 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.3055, allocations: 52.28 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3067, allocations: 495.8 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.3068, allocations: 37.38 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.3069, allocations: 44.38 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.308, allocations: 0.4986 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3081, allocations: 8.125 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.3081, allocations: 19.94 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3081, allocations: 15.98 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3094, allocations: 433.9 kB / 1.035 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.3113, allocations: 1.228 MB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009554/0.3123, allocations: 411.7 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.3128, allocations: 222.5 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.3129, allocations: 11.98 kB / 1.036 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.313, allocations: 34.56 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=41): time 2.415e-06/0.313, allocations: 0 / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=41): time 0.001679/0.3146, allocations: 0.5734 MB / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.3147, allocations: 118.7 kB / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.315, allocations: 282.7 kB / 1.037 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.315, allocations: 33.7 kB / 1.037 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3152, allocations: 220.2 kB / 1.038 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.3153, allocations: 114.4 kB / 1.038 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3154, allocations: 98.09 kB / 1.038 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3156, allocations: 346.8 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.3161, allocations: 160.7 kB / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.3166, allocations: 253.7 kB / 1.039 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.3176, allocations: 398.5 kB / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3176, allocations: 4 kB / 1.039 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001151/0.3188, allocations: 467.4 kB / 1.039 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3188, allocations: 8 kB / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3188, allocations: 0 / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3188, allocations: 8 kB / 1.039 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3193, allocations: 108 kB / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3193, allocations: 8 kB / 1.039 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.3196, allocations: 63.55 kB / 1.04 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.3197, allocations: 16 kB / 1.04 GB, free: 4.566 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.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 (49): * Single equations (assignments): 49 * 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.0002799/0.32, allocations: 181.6 kB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.3201, allocations: 35.61 kB / 1.04 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.951e-05/0.3202, allocations: 42.2 kB / 1.04 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3202, allocations: 7.938 kB / 1.04 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3202, allocations: 0 / 1.04 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3202, allocations: 4 kB / 1.04 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.3208, allocations: 457.1 kB / 1.04 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3208, allocations: 0 / 1.04 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.3212, allocations: 87.86 kB / 1.04 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.3213, allocations: 4 kB / 1.04 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3213, allocations: 8 kB / 1.04 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3213, allocations: 3.938 kB / 1.04 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3213, allocations: 0 / 1.04 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.3225, allocations: 0.6651 MB / 1.041 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.3226, allocations: 112.6 kB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.3227, allocations: 8 kB / 1.041 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.323, allocations: 43.89 kB / 1.041 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3232, allocations: 59.92 kB / 1.041 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.3232, allocations: 12 kB / 1.041 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002266/0.3234, allocations: 178 kB / 1.041 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 1.041 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004612/0.3239, allocations: 95.59 kB / 1.041 GB, free: 2.492 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.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 (41): * Single equations (assignments): 41 * 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.0002009/0.3241, allocations: 116.7 kB / 1.042 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.3253, allocations: 415.9 kB / 1.042 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3253, allocations: 4 kB / 1.042 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.3259, allocations: 244.5 kB / 1.042 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.3265, allocations: 56.78 kB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.3277, allocations: 0.6769 MB / 1.043 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3281, allocations: 0.8154 MB / 1.044 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.3284, allocations: 55.28 kB / 1.044 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3285, allocations: 43.42 kB / 1.044 GB, free: 4 kB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3285, allocations: 0 / 1.044 GB, free: 4 kB / 0.8106 GB Notification: Performance of Templates: time 0.008368/0.3369, allocations: 3.913 MB / 1.048 GB, free: 12.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches