Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001143/0.001143, allocations: 188.9 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.001052/0.001052, allocations: 106.4 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 11.09 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3744, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.545/5.92, allocations: 2.188 GB / 3.411 GB, free: 297.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.92, allocations: 89.92 kB / 3.411 GB, free: 297.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 12.55/18.47, allocations: 3.411 GB / 6.822 GB, free: 79.43 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.374e-06/18.47, allocations: 0 / 6.822 GB, free: 79.43 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.0008701/18.47, allocations: 112.2 kB / 6.822 GB, free: 79.41 MB / 1.276 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.03078/18.5, allocations: 6.443 MB / 6.829 GB, free: 76.41 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/18.5, allocations: 7.375 kB / 6.829 GB, free: 76.41 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/18.51, allocations: 2.044 MB / 6.831 GB, free: 75.89 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/18.53, allocations: 4.285 MB / 6.835 GB, free: 74.03 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003183/18.54, allocations: 0.9081 MB / 6.836 GB, free: 73.8 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/18.54, allocations: 347.6 kB / 6.836 GB, free: 73.67 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/18.56, allocations: 4.907 MB / 6.841 GB, free: 70.12 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/18.56, allocations: 0 / 6.841 GB, free: 70.12 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/18.56, allocations: 122.6 kB / 6.841 GB, free: 70.09 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/18.56, allocations: 163.6 kB / 6.841 GB, free: 69.94 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/18.57, allocations: 5.302 MB / 6.846 GB, free: 64.74 MB / 1.276 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04578/18.62, allocations: 20.09 MB / 6.866 GB, free: 43.38 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/18.63, allocations: 4.179 MB / 6.87 GB, free: 39.2 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/18.63, allocations: 0.6851 MB / 6.871 GB, free: 38.38 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00698/18.64, allocations: 2.493 MB / 6.873 GB, free: 35.88 MB / 1.276 GB Notification: Performance of pre-optimization done (n=251): time 6.231e-06/18.64, allocations: 0 / 6.873 GB, free: 35.88 MB / 1.276 GB Notification: Performance of matching and sorting (n=251): time 0.0197/18.66, allocations: 6.276 MB / 6.879 GB, free: 29.59 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/18.66, allocations: 107.1 kB / 6.879 GB, free: 29.46 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009308/18.67, allocations: 3.165 MB / 6.882 GB, free: 26.3 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001538/18.67, allocations: 93.7 kB / 6.882 GB, free: 26.2 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.003306/18.67, allocations: 1.851 MB / 6.884 GB, free: 24.33 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/18.68, allocations: 0.8432 MB / 6.885 GB, free: 23.47 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/18.68, allocations: 60 kB / 6.885 GB, free: 23.41 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0004517/18.68, allocations: 428.6 kB / 6.886 GB, free: 22.99 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006932/18.68, allocations: 2.083 MB / 6.888 GB, free: 20.9 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007455/18.69, allocations: 2.854 MB / 6.89 GB, free: 17.77 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006348/18.7, allocations: 2.219 MB / 6.893 GB, free: 15.54 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/18.7, allocations: 4 kB / 6.893 GB, free: 15.53 MB / 1.276 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.0171/18.72, allocations: 5.363 MB / 6.898 GB, free: 10.12 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.00113/18.72, allocations: 5.241 MB / 6.903 GB, free: 4.559 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/18.72, allocations: 16 kB / 6.903 GB, free: 4.543 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.975e-05/18.72, allocations: 28 kB / 6.903 GB, free: 4.516 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006972/18.72, allocations: 1.203 MB / 6.904 GB, free: 3.32 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/18.73, allocations: 5.974 MB / 6.91 GB, free: 13.11 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008266/18.74, allocations: 0.8669 MB / 6.911 GB, free: 12.24 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/18.74, allocations: 167.9 kB / 6.911 GB, free: 12.08 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/18.74, allocations: 5.094 kB / 6.911 GB, free: 12.07 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01649/18.75, allocations: 4.964 MB / 6.916 GB, free: 7.078 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.516e-05/18.75, allocations: 16.12 kB / 6.916 GB, free: 7.062 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.422e-05/18.75, allocations: 28 kB / 6.916 GB, free: 7.035 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006469/18.76, allocations: 1.131 MB / 6.917 GB, free: 5.902 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/18.76, allocations: 27.94 kB / 6.917 GB, free: 5.875 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009286/18.77, allocations: 0.8284 MB / 6.918 GB, free: 5.043 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/18.77, allocations: 171.9 kB / 6.918 GB, free: 4.875 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked 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.005618/18.78, allocations: 0.9185 MB / 6.919 GB, free: 3.945 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002431/18.78, allocations: 434.6 kB / 6.919 GB, free: 3.516 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/18.8, allocations: 5.026 MB / 6.924 GB, free: 14.44 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/18.8, allocations: 28 kB / 6.924 GB, free: 14.41 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/18.8, allocations: 0 / 6.924 GB, free: 14.41 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-05/18.8, allocations: 19.89 kB / 6.924 GB, free: 14.39 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/18.82, allocations: 9.476 MB / 6.933 GB, free: 4.734 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/18.82, allocations: 12.06 kB / 6.934 GB, free: 4.723 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00483/18.83, allocations: 0.9225 MB / 6.934 GB, free: 3.809 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.894e-05/18.83, allocations: 12 kB / 6.934 GB, free: 3.797 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/18.83, allocations: 91.91 kB / 6.935 GB, free: 3.707 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096/19.93, allocations: 5.928 MB / 6.94 GB, free: 124.7 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/19.93, allocations: 8.125 kB / 6.94 GB, free: 124.7 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/19.94, allocations: 5.456 MB / 6.946 GB, free: 123.5 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00463/19.95, allocations: 1.012 MB / 6.947 GB, free: 123.4 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/19.95, allocations: 52.22 kB / 6.947 GB, free: 123.4 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006851/19.95, allocations: 0.6324 MB / 6.947 GB, free: 123.4 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/19.96, allocations: 201 kB / 6.947 GB, free: 123.4 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005158/19.96, allocations: 136.2 kB / 6.948 GB, free: 123.4 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.006048/19.96, allocations: 2.389 MB / 6.95 GB, free: 123.2 MB / 1.307 GB Notification: Performance of sort global known variables: time 4.21e-07/19.96, allocations: 0 / 6.95 GB, free: 123.2 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01587/19.98, allocations: 2.831 MB / 6.953 GB, free: 123.2 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * 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.01476/19.99, allocations: 6.536 MB / 6.959 GB, free: 119.9 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.02498/20.02, allocations: 7.712 MB / 6.967 GB, free: 119.7 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/20.02, allocations: 5.766 kB / 6.967 GB, free: 119.7 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.007658/20.03, allocations: 2.464 MB / 6.969 GB, free: 119.7 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01333/20.04, allocations: 1.991 MB / 6.971 GB, free: 119.7 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/20.07, allocations: 9.67 MB / 6.98 GB, free: 115.8 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/20.07, allocations: 2.467 MB / 6.983 GB, free: 115.1 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.009109/20.08, allocations: 1.3 MB / 6.984 GB, free: 115 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/20.08, allocations: 386.2 kB / 6.984 GB, free: 115 MB / 1.307 GB Notification: Performance of SimCode: time 1.533e-06/20.08, allocations: 3.438 kB / 6.984 GB, free: 115 MB / 1.307 GB Notification: Performance of Templates: time 0.2288/20.31, allocations: 134.7 MB / 7.116 GB, free: 108.9 MB / 1.307 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches