Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 178.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000839/0.000839, allocations: 87.06 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003587, allocations: 11.34 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 106.3 MB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.3866, allocations: 134.2 MB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.3869, allocations: 95.88 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008843/0.3958, allocations: 2.993 MB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3958, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3958, allocations: 4 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006663/0.3965, allocations: 447.6 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3966, allocations: 12.03 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.3966, allocations: 11.81 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3968, allocations: 183.1 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3968, allocations: 11.94 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3969, allocations: 11.98 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3972, allocations: 126.4 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3972, allocations: 0 / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3973, allocations: 8 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3973, allocations: 4 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.3977, allocations: 127.9 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.3983, allocations: 404.3 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.3987, allocations: 130.5 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/0.3992, allocations: 0.5544 MB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3992, allocations: 42.56 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3992, allocations: 0 / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.000646/0.3999, allocations: 217.5 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3999, allocations: 51.41 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4001, allocations: 153.3 kB / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4001, allocations: 25.7 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.4002, allocations: 104.3 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.4002, allocations: 31.91 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.4002, allocations: 4 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4003, allocations: 318.8 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.4005, allocations: 59.95 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4007, allocations: 55.84 kB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4009, allocations: 63.95 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4009, allocations: 0 / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003842/0.4013, allocations: 157.5 kB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4013, allocations: 14.45 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4013, allocations: 0 / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4013, allocations: 0 / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4015, allocations: 35.97 kB / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.4015, allocations: 0 / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4016, allocations: 27.83 kB / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4016, allocations: 4 kB / 1.037 GB, free: 3.066 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/0.4017, allocations: 113.8 kB / 1.038 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.4018, allocations: 11.81 kB / 1.038 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.4022, allocations: 190.9 kB / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4023, allocations: 0 / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4023, allocations: 0 / 1.038 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4023, allocations: 4 kB / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.4025, allocations: 201.6 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4025, allocations: 0 / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4027, allocations: 36.28 kB / 1.038 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4027, allocations: 4 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4027, allocations: 0 / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4027, allocations: 3.953 kB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4027, allocations: 3.938 kB / 1.038 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.4032, allocations: 263.2 kB / 1.038 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.4033, allocations: 96.91 kB / 1.038 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4033, allocations: 8 kB / 1.038 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4034, allocations: 23.98 kB / 1.038 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.4035, allocations: 15.92 kB / 1.038 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4035, allocations: 0 / 1.038 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.176e-05/0.4036, allocations: 124.9 kB / 1.039 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4036, allocations: 0 / 1.039 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002447/0.4039, allocations: 27.94 kB / 1.039 GB, free: 1.855 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002084/0.4041, allocations: 107.2 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003894/0.4045, allocations: 127.9 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4045, allocations: 4 kB / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.4047, allocations: 71.89 kB / 1.039 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.405, allocations: 28.44 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.4054, allocations: 251.4 kB / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.4057, allocations: 0.7082 MB / 1.04 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.8e-05/0.4058, allocations: 12.55 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4058, allocations: 15.44 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4058, allocations: 0 / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of Templates: time 0.003578/0.4094, allocations: 1.35 MB / 1.041 GB, free: 15.18 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches