Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001092/0.001092, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.93/2.93, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003912, allocations: 11.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8403, allocations: 153.6 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00219/0.8426, allocations: 1.399 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.8438, allocations: 0.6793 MB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.8439, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.8439, allocations: 7.922 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.844, allocations: 15.97 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.8443, allocations: 75.77 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.8445, allocations: 67.86 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.8446, allocations: 31.25 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.8447, allocations: 35.86 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.8448, allocations: 43.77 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.8448, allocations: 4 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.845, allocations: 103.8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.8451, allocations: 15.92 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.8451, allocations: 41.64 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.8453, allocations: 107.8 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.8453, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8453, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8453, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 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.0006513/0.8459, allocations: 432.8 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.846, allocations: 8.031 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.846, allocations: 15.81 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.8462, allocations: 178.9 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.8462, allocations: 11.94 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.8462, allocations: 7.953 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.8466, allocations: 131.2 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8466, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.8466, allocations: 4 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8466, allocations: 4 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.847, allocations: 127.9 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.8476, allocations: 412.2 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.848, allocations: 118.5 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.8485, allocations: 0.5622 MB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.8485, allocations: 34.56 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.8485, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006742/0.8492, allocations: 229.5 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.8493, allocations: 55.34 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.8494, allocations: 167.3 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.8494, allocations: 25.7 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.8495, allocations: 104.3 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.8495, allocations: 27.56 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.8495, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8497, allocations: 322.8 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.8499, allocations: 55.95 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.85, allocations: 55.95 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.8502, allocations: 60.47 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8502, allocations: 0 / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003849/0.8506, allocations: 161.5 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.8506, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8507, allocations: 11.92 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8507, allocations: 0 / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.8508, allocations: 31.94 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.8508, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.8509, allocations: 27.83 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.851, allocations: 8 kB / 1.027 GB, free: 10.8 MB / 0.7794 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.403e-05/0.8511, allocations: 121.8 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.8511, allocations: 11.81 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.8516, allocations: 178.9 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.8516, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8516, allocations: 3.953 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8516, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.8518, allocations: 205.6 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8518, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.852, allocations: 39.91 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.852, allocations: 3.984 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.852, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.852, allocations: 4 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.852, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.8525, allocations: 263.3 kB / 1.027 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.8525, allocations: 104.8 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8526, allocations: 0 / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.8527, allocations: 20.27 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.8528, allocations: 11.92 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8528, allocations: 0 / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.8529, allocations: 124.8 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8529, allocations: 0 / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002542/0.8531, allocations: 31.95 kB / 1.028 GB, free: 9.602 MB / 0.7794 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.0001883/0.8533, allocations: 107.2 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.8537, allocations: 127.9 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8537, allocations: 0 / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.8539, allocations: 75.89 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.8543, allocations: 23.97 kB / 1.028 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.8547, allocations: 247.4 kB / 1.028 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.855, allocations: 0.7043 MB / 1.029 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.855, allocations: 12.55 kB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.8551, allocations: 11.44 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8551, allocations: 0 / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.003927/0.859, allocations: 1.371 MB / 1.03 GB, free: 6.891 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches