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.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 182.6 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009629/0.0009631, allocations: 86.06 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 16.45 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2225, allocations: 106.3 MB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.615/5.838, allocations: 2.464 GB / 3.364 GB, free: 48.01 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/5.838, allocations: 91.09 kB / 3.364 GB, free: 47.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.7/16.53, allocations: 3.276 GB / 6.64 GB, free: 11.13 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.386e-06/16.53, allocations: 2.906 kB / 6.64 GB, free: 11.13 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0004889/16.53, allocations: 123.9 kB / 6.64 GB, free: 11.01 MB / 1.026 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.02289/16.56, allocations: 6.257 MB / 6.647 GB, free: 4.672 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/16.56, allocations: 8.031 kB / 6.647 GB, free: 4.664 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/16.57, allocations: 2.054 MB / 6.649 GB, free: 2.602 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6893/17.26, allocations: 4.183 MB / 6.653 GB, free: 69.29 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002943/17.26, allocations: 0.9156 MB / 6.654 GB, free: 69.29 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009278/17.26, allocations: 358.9 kB / 6.654 GB, free: 69.29 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/17.28, allocations: 4.861 MB / 6.659 GB, free: 68.92 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/17.28, allocations: 4.531 kB / 6.659 GB, free: 68.92 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004361/17.28, allocations: 133.7 kB / 6.659 GB, free: 68.92 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/17.28, allocations: 152.2 kB / 6.659 GB, free: 68.91 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/17.29, allocations: 5.466 MB / 6.664 GB, free: 68.88 MB / 1.026 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.03229/17.32, allocations: 19.7 MB / 6.684 GB, free: 61 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/17.33, allocations: 4.089 MB / 6.688 GB, free: 60.94 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/17.33, allocations: 0.6985 MB / 6.688 GB, free: 60.28 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005509/17.34, allocations: 2.391 MB / 6.691 GB, free: 60.19 MB / 1.026 GB Notification: Performance of pre-optimization done (n=251): time 4.599e-06/17.34, allocations: 0 / 6.691 GB, free: 60.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.01606/17.36, allocations: 6.088 MB / 6.696 GB, free: 59.87 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/17.36, allocations: 108.9 kB / 6.697 GB, free: 59.78 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/17.36, allocations: 3.168 MB / 6.7 GB, free: 59.49 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/17.36, allocations: 95.08 kB / 6.7 GB, free: 59.46 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/17.36, allocations: 1.842 MB / 6.702 GB, free: 59.06 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/17.37, allocations: 0.8435 MB / 6.702 GB, free: 58.64 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/17.37, allocations: 64.03 kB / 6.702 GB, free: 58.64 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001749/17.37, allocations: 425 kB / 6.703 GB, free: 58.33 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005305/17.37, allocations: 2.013 MB / 6.705 GB, free: 58.32 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/17.38, allocations: 2.783 MB / 6.708 GB, free: 57.57 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/17.38, allocations: 2.168 MB / 6.71 GB, free: 57.48 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/17.38, allocations: 2.875 kB / 6.71 GB, free: 57.48 MB / 1.026 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01382/17.4, allocations: 5.236 MB / 6.715 GB, free: 57.12 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/17.4, allocations: 5.249 MB / 6.72 GB, free: 51.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/17.4, allocations: 11.28 kB / 6.72 GB, free: 51.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.427e-05/17.4, allocations: 26.81 kB / 6.72 GB, free: 51.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/17.41, allocations: 1.185 MB / 6.721 GB, free: 51.72 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/17.41, allocations: 5.972 MB / 6.727 GB, free: 45.88 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007385/17.41, allocations: 0.8548 MB / 6.728 GB, free: 45.78 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008243/17.42, allocations: 161.8 kB / 6.728 GB, free: 45.78 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/17.42, allocations: 3.594 kB / 6.728 GB, free: 45.78 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01162/17.43, allocations: 4.841 MB / 6.733 GB, free: 45.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/17.43, allocations: 17.83 kB / 6.733 GB, free: 45.65 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/17.43, allocations: 27.53 kB / 6.733 GB, free: 45.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/17.43, allocations: 1.108 MB / 6.734 GB, free: 45.65 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.57e-05/17.43, allocations: 32.03 kB / 6.734 GB, free: 45.65 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006457/17.44, allocations: 0.8164 MB / 6.735 GB, free: 45.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/17.44, allocations: 155 kB / 6.735 GB, free: 45.57 MB / 1.026 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.002696/17.44, allocations: 0.9168 MB / 6.736 GB, free: 45.38 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/17.44, allocations: 443.5 kB / 6.736 GB, free: 45.15 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/17.46, allocations: 4.868 MB / 6.741 GB, free: 44.95 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/17.46, allocations: 32.39 kB / 6.741 GB, free: 44.95 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/17.46, allocations: 0 / 6.741 GB, free: 44.95 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/17.46, allocations: 19.23 kB / 6.741 GB, free: 44.95 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/17.48, allocations: 9.263 MB / 6.75 GB, free: 44.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/17.48, allocations: 5.719 kB / 6.75 GB, free: 44.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004483/17.48, allocations: 0.894 MB / 6.751 GB, free: 44.25 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.31e-05/17.48, allocations: 16.16 kB / 6.751 GB, free: 44.25 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/17.48, allocations: 85.73 kB / 6.751 GB, free: 44.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/17.48, allocations: 5.937 MB / 6.757 GB, free: 38.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/17.48, allocations: 12.55 kB / 6.757 GB, free: 38.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/17.49, allocations: 5.337 MB / 6.762 GB, free: 37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003375/17.5, allocations: 1.003 MB / 6.763 GB, free: 36.67 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009318/17.5, allocations: 53.72 kB / 6.763 GB, free: 36.67 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005233/17.5, allocations: 0.6239 MB / 6.764 GB, free: 36.66 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/17.5, allocations: 196.9 kB / 6.764 GB, free: 36.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/17.51, allocations: 127.1 kB / 6.764 GB, free: 36.66 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.004062/17.51, allocations: 2.392 MB / 6.766 GB, free: 36.48 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.21e-07/17.51, allocations: 0 / 6.766 GB, free: 36.48 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01086/17.52, allocations: 2.811 MB / 6.769 GB, free: 36.4 MB / 1.026 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.01047/17.53, allocations: 6.53 MB / 6.775 GB, free: 33.12 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02109/17.55, allocations: 7.511 MB / 6.783 GB, free: 32.91 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/17.55, allocations: 6.031 kB / 6.783 GB, free: 32.91 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006103/17.56, allocations: 2.394 MB / 6.785 GB, free: 32.89 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/17.57, allocations: 1.991 MB / 6.787 GB, free: 32.84 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/17.59, allocations: 9.485 MB / 6.796 GB, free: 28.99 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/17.59, allocations: 2.473 MB / 6.799 GB, free: 28.21 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.007455/17.6, allocations: 1.247 MB / 6.8 GB, free: 28.16 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/17.6, allocations: 370 kB / 6.8 GB, free: 28.15 MB / 1.026 GB Notification: Performance of SimCode: time 8.72e-07/17.6, allocations: 2.969 kB / 6.8 GB, free: 28.15 MB / 1.026 GB Notification: Performance of Templates: time 0.1915/17.79, allocations: 133.6 MB / 6.931 GB, free: 19.22 MB / 1.026 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