Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) 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) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008152/0.008152, allocations: 172.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000994/0.0009938, allocations: 82.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8503/0.8503, allocations: 90.6 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003711, allocations: 8 kB / 485.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4829, allocations: 66.28 MB / 0.5386 GB, free: 45.46 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.705/2.188, allocations: 0.7567 GB / 1.295 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/2.188, allocations: 85.5 kB / 1.295 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.028/4.216, allocations: 0.5321 GB / 1.827 GB, free: 65.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.805e-06/4.217, allocations: 0 / 1.827 GB, free: 65.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001669/4.217, allocations: 30.06 kB / 1.827 GB, free: 65.93 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.01145/4.228, allocations: 2.751 MB / 1.83 GB, free: 63.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/4.228, allocations: 8.031 kB / 1.83 GB, free: 63.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/4.231, allocations: 250.4 kB / 1.83 GB, free: 62.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/4.232, allocations: 0.5549 MB / 1.831 GB, free: 62.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/4.232, allocations: 200.1 kB / 1.831 GB, free: 62.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/4.233, allocations: 91.52 kB / 1.831 GB, free: 62.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/4.236, allocations: 0.9806 MB / 1.832 GB, free: 61.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/4.236, allocations: 3.938 kB / 1.832 GB, free: 61.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/4.236, allocations: 36 kB / 1.832 GB, free: 60.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/4.236, allocations: 20 kB / 1.832 GB, free: 60.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/4.238, allocations: 0.7797 MB / 1.833 GB, free: 60.18 MB / 0.5886 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.005267/4.243, allocations: 3.63 MB / 1.836 GB, free: 56.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/4.245, allocations: 0.8982 MB / 1.837 GB, free: 55.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/4.246, allocations: 1.125 MB / 1.838 GB, free: 54.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/4.246, allocations: 47.16 kB / 1.838 GB, free: 53.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 7.013e-06/4.246, allocations: 0 / 1.838 GB, free: 53.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.005868/4.252, allocations: 2.364 MB / 1.841 GB, free: 51.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/4.252, allocations: 64.06 kB / 1.841 GB, free: 51.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/4.252, allocations: 430.4 kB / 1.841 GB, free: 51.01 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/4.253, allocations: 37.7 kB / 1.841 GB, free: 50.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/4.253, allocations: 384.3 kB / 1.842 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/4.253, allocations: 286.2 kB / 1.842 GB, free: 50.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/4.253, allocations: 12 kB / 1.842 GB, free: 50.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000142/4.253, allocations: 386.7 kB / 1.842 GB, free: 49.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/4.254, allocations: 345.8 kB / 1.843 GB, free: 49.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007473/4.255, allocations: 427.1 kB / 1.843 GB, free: 49.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/4.255, allocations: 366.8 kB / 1.843 GB, free: 48.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/4.255, allocations: 4 kB / 1.843 GB, free: 48.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003071/4.258, allocations: 1.338 MB / 1.845 GB, free: 47.42 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/4.259, allocations: 7.953 kB / 1.845 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/4.259, allocations: 4 kB / 1.845 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008424/4.259, allocations: 274.4 kB / 1.845 GB, free: 47.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/4.26, allocations: 199.7 kB / 1.845 GB, free: 46.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/4.265, allocations: 5.102 MB / 1.85 GB, free: 41.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/4.266, allocations: 95.39 kB / 1.85 GB, free: 41.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/4.267, allocations: 63.91 kB / 1.85 GB, free: 41.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005391/4.267, allocations: 209.5 kB / 1.851 GB, free: 41.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/4.268, allocations: 79.02 kB / 1.851 GB, free: 40.99 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/4.272, allocations: 1.702 MB / 1.852 GB, free: 39.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/4.272, allocations: 12.33 kB / 1.852 GB, free: 39.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/4.272, allocations: 7.938 kB / 1.852 GB, free: 39.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/4.272, allocations: 7.969 kB / 1.852 GB, free: 39.26 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/4.277, allocations: 2.53 MB / 1.855 GB, free: 36.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/4.277, allocations: 0 / 1.855 GB, free: 36.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/4.278, allocations: 203.7 kB / 1.855 GB, free: 36.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00073/4.279, allocations: 282.3 kB / 1.855 GB, free: 36.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/4.279, allocations: 35.98 kB / 1.855 GB, free: 36.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/4.284, allocations: 5.1 MB / 1.86 GB, free: 30.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/4.284, allocations: 0 / 1.86 GB, free: 30.67 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/4.288, allocations: 1.936 MB / 1.862 GB, free: 28.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/4.289, allocations: 243.8 kB / 1.862 GB, free: 28.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/4.289, allocations: 20 kB / 1.862 GB, free: 28.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/4.29, allocations: 67.8 kB / 1.862 GB, free: 28.35 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/4.29, allocations: 77.39 kB / 1.863 GB, free: 28.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/4.29, allocations: 59.97 kB / 1.863 GB, free: 28.21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000566/4.291, allocations: 342.8 kB / 1.863 GB, free: 27.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/4.291, allocations: 0 / 1.863 GB, free: 27.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004368/4.295, allocations: 0.9015 MB / 1.864 GB, free: 26.98 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006388/4.302, allocations: 1.932 MB / 1.866 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003111/4.305, allocations: 1.434 MB / 1.867 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/4.305, allocations: 0 / 1.867 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/4.307, allocations: 1.071 MB / 1.868 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/4.308, allocations: 187.4 kB / 1.868 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/4.313, allocations: 2.513 MB / 1.871 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009822/4.314, allocations: 1.017 MB / 1.872 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001598/4.315, allocations: 278.1 kB / 1.872 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/4.316, allocations: 115.4 kB / 1.872 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/4.316, allocations: 0 / 1.872 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.05751/4.373, allocations: 33.82 MB / 1.905 GB, free: 0.6055 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches