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.001476/0.001476, allocations: 103.3 kB / 16.36 MB, free: 5.824 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.001621/0.001621, allocations: 193.3 kB / 17.3 MB, free: 5.48 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.368/1.368, 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 9.1.2-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.77 kB / 0.8141 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2856, allocations: 140.4 MB / 0.9512 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003367/0.289, allocations: 1.751 MB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2904, allocations: 1.151 MB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2906, allocations: 4 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.2907, allocations: 51.34 kB / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.2909, allocations: 55.34 kB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2912, allocations: 187.7 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.2916, allocations: 496.3 kB / 0.9548 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.2921, allocations: 280.5 kB / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.2923, allocations: 195.3 kB / 0.9552 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.2926, allocations: 242.8 kB / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.2926, allocations: 63.94 kB / 0.9555 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.2927, allocations: 56 kB / 0.9556 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.2928, allocations: 115.6 kB / 0.9557 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.293, allocations: 242.7 kB / 0.9559 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.2936, allocations: 0.6771 MB / 0.9566 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2936, allocations: 0 / 0.9566 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2936, allocations: 0 / 0.9566 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.2936, allocations: 0 / 0.9566 GB, free: 2.406 MB / 0.7325 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.001242/0.2949, allocations: 0.7601 MB / 0.9573 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2949, allocations: 12.03 kB / 0.9573 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.295, allocations: 52.28 kB / 0.9574 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2961, allocations: 491.9 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.2962, allocations: 37.38 kB / 0.9579 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.2963, allocations: 44.38 kB / 0.9579 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.2973, allocations: 0.4979 MB / 0.9584 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2973, allocations: 3.984 kB / 0.9584 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.2973, allocations: 27.98 kB / 0.9584 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2973, allocations: 12 kB / 0.9584 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2985, allocations: 421.4 kB / 0.9589 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.3001, allocations: 1.22 MB / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.301, allocations: 395.7 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.3015, allocations: 222.5 kB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.3016, allocations: 4 kB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3016, allocations: 38.56 kB / 0.9607 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.3016, allocations: 0 / 0.9607 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001745/0.3033, allocations: 0.574 MB / 0.9612 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.3034, allocations: 106.8 kB / 0.9613 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.3037, allocations: 278.8 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.3037, allocations: 33.7 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3039, allocations: 212.3 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/0.304, allocations: 122.3 kB / 0.962 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3041, allocations: 94.11 kB / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3043, allocations: 342.8 kB / 0.9624 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.3048, allocations: 156.7 kB / 0.9625 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.3053, allocations: 257.5 kB / 0.9628 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3064, allocations: 385.1 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3064, allocations: 4 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001155/0.3075, allocations: 474.9 kB / 0.9636 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3076, allocations: 8 kB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3076, allocations: 4 kB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3076, allocations: 7.938 kB / 0.9636 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.3081, allocations: 100.1 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3081, allocations: 7.984 kB / 0.9637 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.3084, allocations: 59.64 kB / 0.9638 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.3084, allocations: 19.98 kB / 0.9638 GB, free: 10.66 MB / 0.7481 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.0002371/0.3087, allocations: 181.6 kB / 0.964 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.3088, allocations: 31.62 kB / 0.964 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.3088, allocations: 46.14 kB / 0.964 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3089, allocations: 7.938 kB / 0.964 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3089, allocations: 0 / 0.964 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3089, allocations: 3.984 kB / 0.964 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.3095, allocations: 453.1 kB / 0.9645 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3095, allocations: 0 / 0.9645 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.3099, allocations: 87.86 kB / 0.9646 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3099, allocations: 4 kB / 0.9646 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.31, allocations: 11.94 kB / 0.9646 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.31, allocations: 0 / 0.9646 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.31, allocations: 0 / 0.9646 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3112, allocations: 0.6575 MB / 0.9652 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.3112, allocations: 112.7 kB / 0.9653 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3113, allocations: 11.94 kB / 0.9653 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.3116, allocations: 39.95 kB / 0.9654 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3118, allocations: 55.94 kB / 0.9654 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3118, allocations: 11.98 kB / 0.9654 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001513/0.312, allocations: 178 kB / 0.9656 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 0.9656 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004425/0.3124, allocations: 95.53 kB / 0.9657 GB, free: 8.605 MB / 0.7481 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.000167/0.3126, allocations: 123.7 kB / 0.9658 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.3138, allocations: 411.8 kB / 0.9662 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3138, allocations: 0.5 kB / 0.9662 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.3144, allocations: 239.7 kB / 0.9664 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.3149, allocations: 57.22 kB / 0.9665 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3161, allocations: 0.6762 MB / 0.9672 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3166, allocations: 0.8118 MB / 0.9679 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000206/0.3168, allocations: 50.97 kB / 0.968 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3169, allocations: 39.42 kB / 0.968 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3169, allocations: 3.938 kB / 0.968 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of Templates: time 0.008229/0.3251, allocations: 3.863 MB / 0.9718 GB, free: 2.344 MB / 0.7481 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 -s gbode -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