Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001438/0.001438, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001478/0.001478, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.398/1.398, 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 10.1.0-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 56.16 kB / 0.8708 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3586, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.003168/0.3618, allocations: 1.756 MB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3632, allocations: 1.155 MB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3633, allocations: 4 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3635, allocations: 55.28 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3637, allocations: 59.34 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.364, allocations: 183.7 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.3644, allocations: 0.4925 MB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.3649, allocations: 284.5 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.3651, allocations: 195.2 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.3653, allocations: 242.9 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.3654, allocations: 56 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.3654, allocations: 60 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.3655, allocations: 119.6 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.3657, allocations: 238.7 kB / 1.024 GB, free: 4.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.3663, allocations: 0.681 MB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3663, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3663, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3663, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 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.00124/0.3675, allocations: 0.7601 MB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3676, allocations: 12.92 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/0.3677, allocations: 56.28 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3687, allocations: 491.8 kB / 1.026 GB, free: 2.809 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.3688, allocations: 37.38 kB / 1.026 GB, free: 2.773 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.3689, allocations: 44.38 kB / 1.026 GB, free: 2.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.3698, allocations: 0.4983 MB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3698, allocations: 4.172 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.3699, allocations: 19.94 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3699, allocations: 12 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.371, allocations: 421.4 kB / 1.027 GB, free: 1.766 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3725, allocations: 1.223 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/0.3734, allocations: 403.7 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.3739, allocations: 222.4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/0.374, allocations: 7.984 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.374, allocations: 38.56 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.374, allocations: 3.938 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.001686/0.3757, allocations: 0.567 MB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.3758, allocations: 110.8 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3761, allocations: 282.7 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3761, allocations: 29.7 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3762, allocations: 216.4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/0.3763, allocations: 122.3 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3765, allocations: 90.11 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3766, allocations: 342.8 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.3771, allocations: 164.7 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.3776, allocations: 245.7 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.3786, allocations: 400.2 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3786, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00113/0.3797, allocations: 464.6 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3798, allocations: 4 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3798, allocations: 4 kB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3798, allocations: 4.25 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.3803, allocations: 103.8 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3803, allocations: 7.938 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.3806, allocations: 55.64 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3806, allocations: 16 kB / 1.031 GB, free: 12.46 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: 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.0002298/0.3809, allocations: 181.7 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.381, allocations: 31.61 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.381, allocations: 42.2 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.381, allocations: 4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3811, allocations: 7.938 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3811, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.3816, allocations: 457.1 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3816, allocations: 0 / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.382, allocations: 83.86 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.382, allocations: 4 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.3821, allocations: 7.984 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3821, allocations: 4 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3821, allocations: 3.938 kB / 1.032 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3832, allocations: 0.669 MB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.3833, allocations: 104.7 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.3834, allocations: 19.98 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.3837, allocations: 35.95 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3839, allocations: 63.86 kB / 1.033 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.3839, allocations: 19.98 kB / 1.033 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001342/0.384, allocations: 174 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.384, allocations: 0 / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004199/0.3845, allocations: 91.53 kB / 1.033 GB, free: 10.39 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: 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.0001431/0.3846, allocations: 119.8 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.3857, allocations: 414.5 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3858, allocations: 3.938 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.3864, allocations: 236.3 kB / 1.034 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.3869, allocations: 52.92 kB / 1.034 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.388, allocations: 0.6691 MB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3884, allocations: 0.8154 MB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.3886, allocations: 46.97 kB / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3887, allocations: 47.42 kB / 1.036 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3887, allocations: 0 / 1.036 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of Templates: time 0.008357/0.3971, allocations: 3.879 MB / 1.04 GB, free: 4.129 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches