Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008721/0.0008723, allocations: 86.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.753e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2642, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.468/7.732, allocations: 2.464 GB / 3.356 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/7.732, allocations: 83.36 kB / 3.356 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.6/21.33, allocations: 3.271 GB / 6.627 GB, free: 60.46 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.164e-06/21.33, allocations: 0 / 6.627 GB, free: 60.46 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0006789/21.33, allocations: 117.8 kB / 6.627 GB, free: 60.43 MB / 1.01 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.02219/21.36, allocations: 5.427 MB / 6.632 GB, free: 57.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/21.36, allocations: 13.11 kB / 6.632 GB, free: 57.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/21.37, allocations: 2.046 MB / 6.634 GB, free: 57.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/21.38, allocations: 4.176 MB / 6.638 GB, free: 56.58 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003639/21.39, allocations: 0.9148 MB / 6.639 GB, free: 56.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/21.39, allocations: 360.6 kB / 6.639 GB, free: 56.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/21.4, allocations: 4.126 MB / 6.643 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.558e-05/21.4, allocations: 3.938 kB / 6.643 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000646/21.4, allocations: 129.6 kB / 6.643 GB, free: 56.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/21.4, allocations: 161.2 kB / 6.644 GB, free: 56.09 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008494/21.41, allocations: 4.038 MB / 6.648 GB, free: 56.05 MB / 1.01 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.03997/21.45, allocations: 19.7 MB / 6.667 GB, free: 47.26 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/21.46, allocations: 2.545 MB / 6.669 GB, free: 47.18 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/21.46, allocations: 1.45 MB / 6.671 GB, free: 47.16 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009004/21.46, allocations: 0.6912 MB / 6.671 GB, free: 46.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00278/21.46, allocations: 1.715 MB / 6.673 GB, free: 46.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=251): time 5.65e-06/21.46, allocations: 0 / 6.673 GB, free: 46.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=251): time 0.006582/21.47, allocations: 2.922 MB / 6.676 GB, free: 46.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/21.47, allocations: 102.5 kB / 6.676 GB, free: 45.98 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007326/21.48, allocations: 3.135 MB / 6.679 GB, free: 45.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001638/21.48, allocations: 88.98 kB / 6.679 GB, free: 45.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002457/21.48, allocations: 1.845 MB / 6.681 GB, free: 45.07 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/21.48, allocations: 0.8429 MB / 6.682 GB, free: 44.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/21.48, allocations: 65.59 kB / 6.682 GB, free: 44.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002602/21.48, allocations: 427.9 kB / 6.682 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/21.49, allocations: 1.301 MB / 6.683 GB, free: 44.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/21.49, allocations: 2.077 MB / 6.685 GB, free: 43.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/21.49, allocations: 1.455 MB / 6.687 GB, free: 43.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/21.49, allocations: 0 / 6.687 GB, free: 43.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.007386/21.5, allocations: 3.814 MB / 6.691 GB, free: 42.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001028/21.5, allocations: 5.245 MB / 6.696 GB, free: 37.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/21.5, allocations: 10.25 kB / 6.696 GB, free: 37.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.183e-05/21.5, allocations: 26.72 kB / 6.696 GB, free: 37.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/21.51, allocations: 1.187 MB / 6.697 GB, free: 37.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/21.51, allocations: 5.977 MB / 6.703 GB, free: 31.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008321/21.52, allocations: 0.8586 MB / 6.704 GB, free: 31.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/21.52, allocations: 162 kB / 6.704 GB, free: 31.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/21.52, allocations: 3.969 kB / 6.704 GB, free: 31.18 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009554/21.53, allocations: 3.41 MB / 6.707 GB, free: 30.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/21.53, allocations: 10.62 kB / 6.707 GB, free: 30.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-05/21.53, allocations: 29.84 kB / 6.707 GB, free: 30.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005379/21.53, allocations: 1.11 MB / 6.708 GB, free: 30.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-05/21.53, allocations: 32.17 kB / 6.708 GB, free: 30.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007395/21.54, allocations: 0.8173 MB / 6.709 GB, free: 30.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/21.54, allocations: 156.3 kB / 6.709 GB, free: 30.69 MB / 1.01 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 () * 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.001804/21.54, allocations: 286.9 kB / 6.709 GB, free: 30.53 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/21.55, allocations: 441.7 kB / 6.71 GB, free: 30.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009613/21.56, allocations: 3.496 MB / 6.713 GB, free: 30.04 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/21.56, allocations: 26.25 kB / 6.713 GB, free: 30.04 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/21.56, allocations: 0 / 6.713 GB, free: 30.04 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.965e-05/21.56, allocations: 16.08 kB / 6.713 GB, free: 30.04 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/21.58, allocations: 7.902 MB / 6.721 GB, free: 26.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/21.58, allocations: 4 kB / 6.721 GB, free: 26.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004614/21.58, allocations: 0.9017 MB / 6.722 GB, free: 25.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-05/21.58, allocations: 23.89 kB / 6.722 GB, free: 25.34 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000471/21.58, allocations: 86.09 kB / 6.722 GB, free: 25.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/21.58, allocations: 5.927 MB / 6.728 GB, free: 19.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/21.58, allocations: 11.38 kB / 6.728 GB, free: 19.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00767/21.59, allocations: 3.96 MB / 6.732 GB, free: 15.16 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00397/21.6, allocations: 0.9987 MB / 6.733 GB, free: 14.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001867/21.6, allocations: 56 kB / 6.733 GB, free: 14.26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006753/21.6, allocations: 0.6271 MB / 6.733 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/21.61, allocations: 195.4 kB / 6.734 GB, free: 13.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006154/21.61, allocations: 135.4 kB / 6.734 GB, free: 13.56 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006123/21.61, allocations: 2.34 MB / 6.736 GB, free: 11.42 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.5e-07/21.61, allocations: 0 / 6.736 GB, free: 11.42 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0155/21.63, allocations: 2.826 MB / 6.739 GB, free: 8.633 MB / 1.01 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) * 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.01213/21.64, allocations: 6.517 MB / 6.745 GB, free: 2.098 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01644/21.66, allocations: 5.54 MB / 6.751 GB, free: 12.86 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/21.66, allocations: 0 / 6.751 GB, free: 12.86 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004996/21.66, allocations: 1.715 MB / 6.752 GB, free: 11.27 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01305/21.67, allocations: 1.996 MB / 6.754 GB, free: 9.816 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/21.69, allocations: 5.932 MB / 6.76 GB, free: 4.32 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/21.69, allocations: 2.476 MB / 6.762 GB, free: 2.457 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.009843/21.7, allocations: 1.537 MB / 6.764 GB, free: 1.309 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/21.7, allocations: 310 kB / 6.764 GB, free: 1.047 MB / 1.026 GB Notification: Performance of SimCode: time 3.406e-06/21.7, allocations: 0 / 6.764 GB, free: 1.047 MB / 1.026 GB Notification: Performance of Templates: time 1.182/22.89, allocations: 151.6 MB / 6.912 GB, free: 95.05 MB / 1.042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches