Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.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_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_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, 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.001424/0.001424, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8225/0.8225, allocations: 91.21 MB / 381.2 MB, free: 9.594 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 77.97 kB / 459.6 MB, free: 23.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1481, allocations: 67.69 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4917/0.6398, allocations: 213.2 MB / 0.7231 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.6599, allocations: 17.62 MB / 0.7403 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.662, allocations: 55.62 kB / 0.7404 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.6641, allocations: 0.5401 MB / 0.7409 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.669, allocations: 1.54 MB / 0.7424 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.6737, allocations: 1.434 MB / 0.7438 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.6765, allocations: 1.884 MB / 0.7457 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.677, allocations: 281.5 kB / 0.7459 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.6796, allocations: 1.14 MB / 0.747 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.6803, allocations: 0.614 MB / 0.7476 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.6805, allocations: 64 kB / 0.7477 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007781/0.6882, allocations: 3.607 MB / 0.7512 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.6886, allocations: 211 kB / 0.7514 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007287/0.6894, allocations: 0.5903 MB / 0.752 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.6941, allocations: 2.236 MB / 0.7542 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6941, allocations: 0 / 0.7542 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6941, allocations: 0 / 0.7542 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.6942, allocations: 4 kB / 0.7542 GB, free: 10.78 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.003515/0.6977, allocations: 1.814 MB / 0.756 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.6977, allocations: 8.031 kB / 0.756 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.6998, allocations: 282.5 kB / 0.7562 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.7013, allocations: 0.8156 MB / 0.757 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.7015, allocations: 200.7 kB / 0.7572 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.7016, allocations: 91.98 kB / 0.7573 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.7036, allocations: 1.001 MB / 0.7583 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7036, allocations: 4 kB / 0.7583 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.7037, allocations: 36 kB / 0.7583 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.7037, allocations: 24 kB / 0.7584 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.7054, allocations: 0.7846 MB / 0.7591 GB, free: 5.582 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.005259/0.7106, allocations: 4.112 MB / 0.7631 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.7126, allocations: 0.8628 MB / 0.764 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.7134, allocations: 423.3 kB / 0.7644 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/0.7143, allocations: 1.311 MB / 0.7657 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.7143, allocations: 39.22 kB / 0.7657 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.424e-06/0.7144, allocations: 0 / 0.7657 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.00535/0.7197, allocations: 1.915 MB / 0.7676 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.7198, allocations: 60.06 kB / 0.7676 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.7208, allocations: 0.7653 MB / 0.7684 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.7208, allocations: 41.7 kB / 0.7684 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.7212, allocations: 0.4923 MB / 0.7689 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.7214, allocations: 272 kB / 0.7692 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.7217, allocations: 154.6 kB / 0.7693 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7218, allocations: 337.9 kB / 0.7696 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.7225, allocations: 317.8 kB / 0.7699 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.7232, allocations: 383.1 kB / 0.7703 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.7247, allocations: 0.6862 MB / 0.771 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7247, allocations: 0 / 0.771 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003173/0.7279, allocations: 1.229 MB / 0.7722 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.7279, allocations: 6.344 kB / 0.7722 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7279, allocations: 11.88 kB / 0.7722 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.7288, allocations: 242.4 kB / 0.7724 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.7298, allocations: 203.8 kB / 0.7726 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.7352, allocations: 4.861 MB / 0.7774 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.7361, allocations: 103.3 kB / 0.7774 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.7363, allocations: 52.92 kB / 0.7775 GB, free: 1.496 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.0005639/0.7369, allocations: 221.7 kB / 0.7777 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.7371, allocations: 106.6 kB / 0.7778 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/0.7414, allocations: 1.836 MB / 0.7796 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7414, allocations: 12 kB / 0.7796 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7414, allocations: 4 kB / 0.7796 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.7414, allocations: 3.984 kB / 0.7796 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.7464, allocations: 2.472 MB / 0.782 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.7465, allocations: 4 kB / 0.782 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.7475, allocations: 199.9 kB / 0.7822 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007569/0.7482, allocations: 258.2 kB / 0.7825 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.7484, allocations: 35.97 kB / 0.7825 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.754, allocations: 4.865 MB / 0.7873 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.754, allocations: 0 / 0.7873 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.758, allocations: 1.723 MB / 0.7889 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/0.7585, allocations: 255.5 kB / 0.7892 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.7587, allocations: 27.88 kB / 0.7892 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.7593, allocations: 47.95 kB / 0.7893 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.7595, allocations: 76.84 kB / 0.7893 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.7596, allocations: 51.98 kB / 0.7894 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006738/0.7603, allocations: 0.5317 MB / 0.7899 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7603, allocations: 4 kB / 0.7899 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001439/0.7617, allocations: 467.1 kB / 0.7904 GB, free: 3.723 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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.001245/0.763, allocations: 0.5813 MB / 0.7909 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.7658, allocations: 1.247 MB / 0.7921 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7658, allocations: 4.125 kB / 0.7921 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.7675, allocations: 0.8962 MB / 0.793 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.7688, allocations: 248.7 kB / 0.7933 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.7734, allocations: 2.763 MB / 0.796 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.774, allocations: 1.068 MB / 0.797 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001581/0.7756, allocations: 0.635 MB / 0.7976 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.7761, allocations: 147.3 kB / 0.7978 GB, free: 12 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.7761, allocations: 4 kB / 0.7978 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.03095/0.807, allocations: 19.04 MB / 0.8164 GB, free: 9.035 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches