Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.238/2.238, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 173 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 221.3 MB / 0.7915 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009248, allocations: 91.95 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.453e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3955, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.34, allocations: 2.189 GB / 3.408 GB, free: 97.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/7.341, allocations: 79.95 kB / 3.408 GB, free: 97.62 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 15.04/22.38, allocations: 3.406 GB / 6.814 GB, free: 96.7 MB / 1.292 GB Notification: Performance of FrontEnd: time 1.623e-06/22.38, allocations: 2.156 kB / 6.814 GB, free: 96.7 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.00105/22.38, allocations: 119.5 kB / 6.814 GB, free: 96.7 MB / 1.292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0291/22.41, allocations: 5.604 MB / 6.82 GB, free: 95.06 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/22.41, allocations: 10.16 kB / 6.82 GB, free: 95.06 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/22.42, allocations: 2.045 MB / 6.822 GB, free: 94.77 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/22.44, allocations: 4.271 MB / 6.826 GB, free: 94.25 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003695/22.45, allocations: 0.9044 MB / 6.827 GB, free: 94.25 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003236/22.45, allocations: 345.7 kB / 6.827 GB, free: 94.25 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/22.47, allocations: 4.175 MB / 6.831 GB, free: 93.88 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/22.47, allocations: 3.719 kB / 6.831 GB, free: 93.88 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/22.47, allocations: 127.8 kB / 6.831 GB, free: 93.88 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/22.47, allocations: 156 kB / 6.831 GB, free: 93.87 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/22.48, allocations: 3.861 MB / 6.835 GB, free: 93.84 MB / 1.292 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/22.54, allocations: 20.1 MB / 6.855 GB, free: 85.6 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006223/22.54, allocations: 2.555 MB / 6.857 GB, free: 85.54 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00324/22.55, allocations: 1.449 MB / 6.859 GB, free: 85.54 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/22.55, allocations: 0.6894 MB / 6.859 GB, free: 84.88 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004657/22.55, allocations: 1.797 MB / 6.861 GB, free: 84.78 MB / 1.292 GB Notification: Performance of pre-optimization done (n=247): time 1.077e-05/22.55, allocations: 0 / 6.861 GB, free: 84.78 MB / 1.292 GB Notification: Performance of matching and sorting (n=247): time 0.009918/22.56, allocations: 3.017 MB / 6.864 GB, free: 84.48 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/22.56, allocations: 102.8 kB / 6.864 GB, free: 84.38 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006914/22.57, allocations: 3.159 MB / 6.867 GB, free: 84.04 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/22.57, allocations: 90.67 kB / 6.867 GB, free: 84.01 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/22.57, allocations: 1.865 MB / 6.869 GB, free: 83.47 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/22.57, allocations: 0.833 MB / 6.87 GB, free: 82.93 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/22.57, allocations: 62.89 kB / 6.87 GB, free: 82.93 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002042/22.57, allocations: 426.6 kB / 6.87 GB, free: 82.62 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/22.58, allocations: 1.357 MB / 6.872 GB, free: 82.61 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/22.58, allocations: 2.135 MB / 6.874 GB, free: 81.87 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/22.58, allocations: 1.498 MB / 6.875 GB, free: 81.78 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/22.58, allocations: 5.312 kB / 6.875 GB, free: 81.78 MB / 1.292 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008304/22.59, allocations: 3.925 MB / 6.879 GB, free: 81.42 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001417/22.59, allocations: 5.144 MB / 6.884 GB, free: 76.12 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/22.59, allocations: 11.16 kB / 6.884 GB, free: 76.12 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.778e-05/22.59, allocations: 27.38 kB / 6.884 GB, free: 76.12 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006514/22.6, allocations: 1.207 MB / 6.885 GB, free: 76.12 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/22.6, allocations: 5.984 MB / 6.891 GB, free: 70.27 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/22.61, allocations: 0.8692 MB / 6.892 GB, free: 70.08 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/22.61, allocations: 168.6 kB / 6.892 GB, free: 70.08 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/22.61, allocations: 7.938 kB / 6.892 GB, free: 70.08 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/22.63, allocations: 3.53 MB / 6.896 GB, free: 69.96 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/22.63, allocations: 10.12 kB / 6.896 GB, free: 69.96 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-05/22.63, allocations: 36.72 kB / 6.896 GB, free: 69.96 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/22.63, allocations: 1.119 MB / 6.897 GB, free: 69.96 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000102/22.63, allocations: 34.72 kB / 6.897 GB, free: 69.96 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007929/22.64, allocations: 0.8239 MB / 6.898 GB, free: 69.81 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009656/22.64, allocations: 168.1 kB / 6.898 GB, free: 69.81 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime,hexCou.flowRegime_nominal,hexPar.flowRegime,hexPar.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001867/22.64, allocations: 289 kB / 6.898 GB, free: 69.69 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002446/22.64, allocations: 439.6 kB / 6.899 GB, free: 69.46 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/22.65, allocations: 3.617 MB / 6.902 GB, free: 69.25 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/22.65, allocations: 30.83 kB / 6.902 GB, free: 69.25 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/22.65, allocations: 0 / 6.902 GB, free: 69.25 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-05/22.65, allocations: 10.64 kB / 6.902 GB, free: 69.25 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02272/22.68, allocations: 8.078 MB / 6.91 GB, free: 68.52 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/22.68, allocations: 3.062 kB / 6.91 GB, free: 68.52 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004644/22.68, allocations: 0.9152 MB / 6.911 GB, free: 68.52 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-05/22.68, allocations: 13.53 kB / 6.911 GB, free: 68.52 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/22.68, allocations: 93.52 kB / 6.911 GB, free: 68.52 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/22.69, allocations: 5.932 MB / 6.917 GB, free: 62.67 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/22.69, allocations: 6.469 kB / 6.917 GB, free: 62.67 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/22.69, allocations: 4.057 MB / 6.921 GB, free: 61.27 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004614/22.7, allocations: 1.029 MB / 6.922 GB, free: 60.91 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/22.7, allocations: 58.08 kB / 6.922 GB, free: 60.91 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007364/22.71, allocations: 0.6588 MB / 6.922 GB, free: 60.89 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005379/22.71, allocations: 198.4 kB / 6.923 GB, free: 60.89 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006022/22.71, allocations: 132.1 kB / 6.923 GB, free: 60.89 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.007325/22.72, allocations: 2.36 MB / 6.925 GB, free: 60.68 MB / 1.292 GB Notification: Performance of sort global known variables: time 4.7e-07/22.72, allocations: 1.969 kB / 6.925 GB, free: 60.68 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01778/22.73, allocations: 2.841 MB / 6.928 GB, free: 60.46 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01772/22.75, allocations: 6.539 MB / 6.934 GB, free: 57.11 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02022/22.77, allocations: 5.694 MB / 6.94 GB, free: 56.87 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.853e-05/22.77, allocations: 4.25 kB / 6.94 GB, free: 56.86 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.005849/22.78, allocations: 1.731 MB / 6.941 GB, free: 56.84 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0135/22.79, allocations: 1.984 MB / 6.943 GB, free: 56.79 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/22.81, allocations: 6.104 MB / 6.949 GB, free: 55.24 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/22.82, allocations: 2.478 MB / 6.952 GB, free: 54.45 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01118/22.83, allocations: 1.577 MB / 6.953 GB, free: 54.37 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/22.83, allocations: 323.5 kB / 6.954 GB, free: 54.37 MB / 1.292 GB Notification: Performance of SimCode: time 1.523e-06/22.83, allocations: 0 / 6.954 GB, free: 54.37 MB / 1.292 GB Notification: Performance of Templates: time 0.2435/23.07, allocations: 152.2 MB / 7.102 GB, free: 45.96 MB / 1.292 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches