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.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.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.001488/0.001488, allocations: 110.7 kB / 15.99 MB, free: 6.355 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.001543/0.001543, allocations: 193.8 kB / 16.91 MB, free: 6.191 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.337/2.337, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.81 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3181, allocations: 140.4 MB / 0.9498 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003681/0.3219, allocations: 1.785 MB / 0.9516 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3239, allocations: 1.131 MB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.3242, allocations: 8 kB / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3244, allocations: 31.64 kB / 0.9527 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.3248, allocations: 31.66 kB / 0.9527 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3252, allocations: 155.9 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.3258, allocations: 0.4886 MB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/0.3264, allocations: 284.5 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.3267, allocations: 195.3 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3269, allocations: 238.8 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3271, allocations: 60 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.3271, allocations: 60 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.3272, allocations: 119.6 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3274, allocations: 238.7 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.328, allocations: 0.5186 MB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.328, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.328, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.3281, allocations: 4 kB / 0.955 GB, free: 3.812 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.001522/0.3296, allocations: 0.7562 MB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3296, allocations: 12.03 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3298, allocations: 56.28 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3309, allocations: 491.8 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.331, allocations: 37.38 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.3311, allocations: 44.38 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3321, allocations: 0.4979 MB / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3322, allocations: 0 / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.3322, allocations: 19.98 kB / 0.9569 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.3322, allocations: 12 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.3334, allocations: 425.4 kB / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.3353, allocations: 1.231 MB / 0.9585 GB, free: 88 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.3362, allocations: 395.7 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.3368, allocations: 226.5 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.3369, allocations: 7.984 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3369, allocations: 34.56 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 3.617e-06/0.3369, allocations: 0 / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001786/0.3387, allocations: 0.5792 MB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.3388, allocations: 110.8 kB / 0.9598 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.3391, allocations: 278.8 kB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.3391, allocations: 33.69 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3393, allocations: 216.3 kB / 0.9603 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3394, allocations: 118.3 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3395, allocations: 90.11 kB / 0.9605 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3397, allocations: 342.8 kB / 0.9608 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.3402, allocations: 160.7 kB / 0.961 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.3408, allocations: 253.6 kB / 0.9612 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3418, allocations: 383.1 kB / 0.9616 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3418, allocations: 4 kB / 0.9616 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001268/0.3431, allocations: 479.6 kB / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3431, allocations: 4 kB / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3431, allocations: 4 kB / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3432, allocations: 7.938 kB / 0.9621 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.3436, allocations: 96.11 kB / 0.9622 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.3437, allocations: 11.94 kB / 0.9622 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.344, allocations: 55.64 kB / 0.9622 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.344, allocations: 19.98 kB / 0.9622 GB, free: 12.06 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.0003097/0.3444, allocations: 169.8 kB / 0.9624 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3445, allocations: 31.62 kB / 0.9624 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.3446, allocations: 46.14 kB / 0.9625 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3446, allocations: 4 kB / 0.9625 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3446, allocations: 0 / 0.9625 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3446, allocations: 3.984 kB / 0.9625 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.3453, allocations: 457 kB / 0.9629 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3453, allocations: 4 kB / 0.9629 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.3457, allocations: 83.86 kB / 0.963 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.3457, allocations: 4 kB / 0.963 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.3457, allocations: 11.94 kB / 0.963 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3458, allocations: 0 / 0.963 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3458, allocations: 4 kB / 0.963 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.347, allocations: 0.6535 MB / 0.9637 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.3471, allocations: 108.7 kB / 0.9638 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.3472, allocations: 19.88 kB / 0.9638 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.3475, allocations: 39.95 kB / 0.9638 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.3477, allocations: 59.88 kB / 0.9639 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.3477, allocations: 15.98 kB / 0.9639 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001609/0.3479, allocations: 174 kB / 0.9641 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3479, allocations: 0 / 0.9641 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004628/0.3484, allocations: 99.53 kB / 0.9642 GB, free: 10 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.0001701/0.3485, allocations: 122.2 kB / 0.9643 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3498, allocations: 431.3 kB / 0.9647 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3498, allocations: 0 / 0.9647 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.3504, allocations: 224.2 kB / 0.9649 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.351, allocations: 52.52 kB / 0.965 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3524, allocations: 0.8776 MB / 0.9658 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3528, allocations: 0.8115 MB / 0.9666 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.353, allocations: 39.42 kB / 0.9666 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.353, allocations: 0 / 0.9666 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of Templates: time 0.008342/0.3613, allocations: 4.714 MB / 0.9712 GB, free: 2.695 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 -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