Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 193.7 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6695/0.6695, allocations: 91.2 MB / 381.2 MB, free: 9.602 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 84.75 kB / 459.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 67.69 MB / 0.515 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4923/0.6256, allocations: 213.2 MB / 0.7231 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.6463, allocations: 17.63 MB / 0.7404 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.6479, allocations: 55.62 kB / 0.7404 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.6498, allocations: 0.5362 MB / 0.7409 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.6542, allocations: 1.544 MB / 0.7424 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006191/0.6604, allocations: 1.438 MB / 0.7438 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.6647, allocations: 1.888 MB / 0.7457 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.6655, allocations: 271.2 kB / 0.7459 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.6685, allocations: 1.144 MB / 0.7471 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.6697, allocations: 0.6219 MB / 0.7477 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.67, allocations: 64 kB / 0.7477 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007761/0.6778, allocations: 3.596 MB / 0.7512 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.6782, allocations: 218.9 kB / 0.7514 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009712/0.6792, allocations: 0.5825 MB / 0.752 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005475/0.6847, allocations: 2.244 MB / 0.7542 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6847, allocations: 0 / 0.7542 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6847, allocations: 3.938 kB / 0.7542 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.543e-05/0.6848, allocations: 0 / 0.7542 GB, free: 10.84 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004177/0.689, allocations: 1.814 MB / 0.756 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.689, allocations: 8.031 kB / 0.756 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.6911, allocations: 286.5 kB / 0.7563 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.6927, allocations: 0.8078 MB / 0.7571 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.6929, allocations: 200.7 kB / 0.7572 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6931, allocations: 96 kB / 0.7573 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.6953, allocations: 1.009 MB / 0.7583 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6954, allocations: 0 / 0.7583 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.6955, allocations: 36 kB / 0.7584 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.6955, allocations: 27.94 kB / 0.7584 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6973, allocations: 0.7885 MB / 0.7592 GB, free: 5.625 MB / 0.5606 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.005541/0.7029, allocations: 4.12 MB / 0.7632 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.7049, allocations: 0.8706 MB / 0.764 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/0.7057, allocations: 431.3 kB / 0.7644 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008398/0.7066, allocations: 1.299 MB / 0.7657 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7066, allocations: 51.22 kB / 0.7658 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.965e-06/0.7067, allocations: 0 / 0.7658 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005398/0.7121, allocations: 1.919 MB / 0.7676 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7121, allocations: 60.06 kB / 0.7677 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7133, allocations: 0.7692 MB / 0.7684 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/0.7134, allocations: 37.7 kB / 0.7685 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.7138, allocations: 0.4962 MB / 0.769 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.714, allocations: 271.9 kB / 0.7692 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.7143, allocations: 162.6 kB / 0.7694 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7145, allocations: 333.9 kB / 0.7697 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/0.7152, allocations: 313.8 kB / 0.77 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/0.7161, allocations: 391.1 kB / 0.7704 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.7176, allocations: 0.694 MB / 0.771 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.7177, allocations: 0 / 0.771 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003318/0.721, allocations: 1.24 MB / 0.7723 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.721, allocations: 4 kB / 0.7723 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.721, allocations: 4 kB / 0.7723 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008569/0.7219, allocations: 242.4 kB / 0.7725 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.7229, allocations: 207.7 kB / 0.7727 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.7288, allocations: 4.853 MB / 0.7774 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.7296, allocations: 103.2 kB / 0.7775 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7297, allocations: 55.91 kB / 0.7776 GB, free: 1.488 MB / 0.5762 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004903/0.7302, allocations: 221.7 kB / 0.7778 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.7305, allocations: 106.6 kB / 0.7779 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.735, allocations: 1.826 MB / 0.7797 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.735, allocations: 12 kB / 0.7797 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.7351, allocations: 0 / 0.7797 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.7351, allocations: 7.984 kB / 0.7797 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.7404, allocations: 2.471 MB / 0.7821 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7404, allocations: 0 / 0.7821 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.7418, allocations: 199.9 kB / 0.7823 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.743, allocations: 258.2 kB / 0.7825 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.7431, allocations: 31.98 kB / 0.7826 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007931/0.751, allocations: 4.853 MB / 0.7873 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7511, allocations: 12.08 kB / 0.7873 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.7572, allocations: 1.71 MB / 0.789 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/0.7579, allocations: 259.5 kB / 0.7892 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/0.7582, allocations: 28.23 kB / 0.7893 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7592, allocations: 55.89 kB / 0.7893 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.7595, allocations: 76.5 kB / 0.7894 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.7596, allocations: 47.98 kB / 0.7894 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001212/0.7609, allocations: 0.5395 MB / 0.79 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7609, allocations: 0 / 0.79 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002106/0.763, allocations: 471.1 kB / 0.7904 GB, free: 3.734 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/0.7648, allocations: 0.5758 MB / 0.791 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004066/0.7689, allocations: 1.244 MB / 0.7922 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7689, allocations: 4 kB / 0.7922 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.7714, allocations: 0.8982 MB / 0.7931 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.7736, allocations: 251.1 kB / 0.7933 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.7785, allocations: 2.738 MB / 0.796 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.7793, allocations: 1.068 MB / 0.797 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001669/0.7809, allocations: 0.6344 MB / 0.7977 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.7815, allocations: 143.3 kB / 0.7978 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of SimCode: time 2.915e-06/0.7815, allocations: 4 kB / 0.7978 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Templates: time 0.03329/0.8148, allocations: 18.91 MB / 0.8163 GB, free: 9.223 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches