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.279/2.279, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001417/0.001417, allocations: 184 kB / 0.4902 GB, free: 2.242 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.604/1.604, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.00105/0.00105, allocations: 101.9 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003977, allocations: 10.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.563/5.895, allocations: 2.189 GB / 3.419 GB, free: 200.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.896, allocations: 88.02 kB / 3.419 GB, free: 200.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 12.32/18.21, allocations: 3.411 GB / 6.83 GB, free: 2.613 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.765e-06/18.21, allocations: 0 / 6.83 GB, free: 2.613 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.0009343/18.22, allocations: 120 kB / 6.83 GB, free: 2.496 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.0305/18.25, allocations: 6.431 MB / 6.836 GB, free: 11.98 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/18.25, allocations: 16.02 kB / 6.836 GB, free: 11.96 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/18.26, allocations: 2.05 MB / 6.838 GB, free: 9.902 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/18.28, allocations: 4.296 MB / 6.843 GB, free: 5.551 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003492/18.28, allocations: 0.9011 MB / 6.843 GB, free: 4.645 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/18.29, allocations: 344 kB / 6.844 GB, free: 4.309 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/18.3, allocations: 4.898 MB / 6.848 GB, free: 15.29 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/18.3, allocations: 0 / 6.848 GB, free: 15.29 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000872/18.31, allocations: 124 kB / 6.849 GB, free: 15.17 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/18.31, allocations: 154 kB / 6.849 GB, free: 15.02 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/18.32, allocations: 5.251 MB / 6.854 GB, free: 9.758 MB / 1.307 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 1.149/19.47, allocations: 20.09 MB / 6.873 GB, free: 104.9 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/19.48, allocations: 4.092 MB / 6.877 GB, free: 104.8 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/19.48, allocations: 0.691 MB / 6.878 GB, free: 104.2 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007782/19.49, allocations: 2.467 MB / 6.881 GB, free: 104.1 MB / 1.307 GB Notification: Performance of pre-optimization done (n=247): time 8.215e-06/19.49, allocations: 3 kB / 6.881 GB, free: 104.1 MB / 1.307 GB Notification: Performance of matching and sorting (n=247): time 0.02075/19.51, allocations: 6.201 MB / 6.887 GB, free: 103.9 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/19.51, allocations: 109.9 kB / 6.887 GB, free: 103.9 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/19.52, allocations: 3.189 MB / 6.89 GB, free: 103.6 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.0009621/19.52, allocations: 95.62 kB / 6.89 GB, free: 103.5 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.002027/19.52, allocations: 1.851 MB / 6.892 GB, free: 103.1 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/19.52, allocations: 0.8315 MB / 6.893 GB, free: 102.7 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/19.52, allocations: 64.91 kB / 6.893 GB, free: 102.7 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0001837/19.52, allocations: 434.2 kB / 6.893 GB, free: 102.4 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/19.53, allocations: 2.061 MB / 6.895 GB, free: 102.4 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/19.54, allocations: 2.833 MB / 6.898 GB, free: 101.6 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/19.54, allocations: 2.198 MB / 6.9 GB, free: 101.6 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/19.54, allocations: 9.219 kB / 6.9 GB, free: 101.6 MB / 1.307 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01349/19.55, allocations: 5.329 MB / 6.905 GB, free: 101.2 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.001228/19.56, allocations: 5.154 MB / 6.91 GB, free: 95.89 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/19.56, allocations: 12.56 kB / 6.91 GB, free: 95.89 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.306e-05/19.56, allocations: 25.56 kB / 6.91 GB, free: 95.89 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006206/19.56, allocations: 1.199 MB / 6.911 GB, free: 95.89 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/19.56, allocations: 5.975 MB / 6.917 GB, free: 90.05 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/19.57, allocations: 0.8693 MB / 6.918 GB, free: 89.95 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006213/19.57, allocations: 170.6 kB / 6.918 GB, free: 89.95 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/19.57, allocations: 5.156 kB / 6.918 GB, free: 89.95 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01246/19.59, allocations: 4.933 MB / 6.923 GB, free: 89.83 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-05/19.59, allocations: 13.31 kB / 6.923 GB, free: 89.83 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.336e-05/19.59, allocations: 30.89 kB / 6.923 GB, free: 89.83 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/19.59, allocations: 1.12 MB / 6.924 GB, free: 89.83 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001191/19.59, allocations: 37.8 kB / 6.924 GB, free: 89.83 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008315/19.6, allocations: 0.8305 MB / 6.925 GB, free: 89.75 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006546/19.6, allocations: 161.5 kB / 6.925 GB, free: 89.75 MB / 1.307 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 () * 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.004667/19.6, allocations: 0.9261 MB / 6.926 GB, free: 89.55 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002744/19.61, allocations: 437.4 kB / 6.927 GB, free: 89.33 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/19.62, allocations: 4.971 MB / 6.931 GB, free: 89.12 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/19.62, allocations: 26.28 kB / 6.931 GB, free: 89.12 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/19.62, allocations: 0 / 6.931 GB, free: 89.12 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/19.62, allocations: 13.88 kB / 6.931 GB, free: 89.12 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/19.65, allocations: 9.421 MB / 6.941 GB, free: 88.43 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/19.65, allocations: 3.75 kB / 6.941 GB, free: 88.43 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004502/19.65, allocations: 0.9235 MB / 6.942 GB, free: 88.43 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.566e-05/19.65, allocations: 14.5 kB / 6.942 GB, free: 88.43 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/19.65, allocations: 94.2 kB / 6.942 GB, free: 88.43 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/19.66, allocations: 5.931 MB / 6.947 GB, free: 82.59 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/19.66, allocations: 4.844 kB / 6.947 GB, free: 82.59 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/19.67, allocations: 5.416 MB / 6.953 GB, free: 81.18 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004224/19.67, allocations: 1.026 MB / 6.954 GB, free: 80.85 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/19.68, allocations: 55.66 kB / 6.954 GB, free: 80.85 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006795/19.68, allocations: 0.6599 MB / 6.954 GB, free: 80.84 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/19.68, allocations: 197.4 kB / 6.955 GB, free: 80.83 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005716/19.68, allocations: 136.6 kB / 6.955 GB, free: 80.83 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.007577/19.69, allocations: 2.404 MB / 6.957 GB, free: 80.65 MB / 1.307 GB Notification: Performance of sort global known variables: time 5.61e-07/19.69, allocations: 0.7188 kB / 6.957 GB, free: 80.65 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01559/19.71, allocations: 2.842 MB / 6.96 GB, free: 80.57 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: 3 ($whenCondition1,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 (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.01321/19.72, allocations: 6.52 MB / 6.966 GB, free: 77.33 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.02428/19.74, allocations: 7.661 MB / 6.974 GB, free: 77.11 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/19.74, allocations: 448 / 6.974 GB, free: 77.11 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.007183/19.75, allocations: 2.401 MB / 6.976 GB, free: 77.09 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01286/19.76, allocations: 1.983 MB / 6.978 GB, free: 77.07 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/19.79, allocations: 9.643 MB / 6.987 GB, free: 73.21 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004451/19.8, allocations: 2.475 MB / 6.99 GB, free: 72.43 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0119/19.81, allocations: 1.3 MB / 6.991 GB, free: 72.39 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/19.81, allocations: 384.7 kB / 6.991 GB, free: 72.38 MB / 1.307 GB Notification: Performance of SimCode: time 1.603e-06/19.81, allocations: 0 / 6.991 GB, free: 72.38 MB / 1.307 GB Notification: Performance of Templates: time 0.2347/20.05, allocations: 134.5 MB / 7.123 GB, free: 64.83 MB / 1.307 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