Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001614/0.001614, allocations: 104.3 kB / 15.98 MB, free: 6.352 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.001677/0.001677, allocations: 193 kB / 16.91 MB, free: 6.184 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7492/0.7492, allocations: 93.68 MB / 384.4 MB, free: 5.473 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 83.88 kB / 463.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 68.26 MB / 0.5194 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4549/0.5867, allocations: 212.6 MB / 0.7269 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3068/0.8936, allocations: 17.42 MB / 0.7439 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.8951, allocations: 60.91 kB / 0.744 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.8967, allocations: 0.5417 MB / 0.7445 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.901, allocations: 1.594 MB / 0.7461 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.9051, allocations: 1.53 MB / 0.7476 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002235/0.9073, allocations: 1.713 MB / 0.7493 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.9079, allocations: 304.5 kB / 0.7495 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.9104, allocations: 1.234 MB / 0.7508 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007927/0.9112, allocations: 0.6374 MB / 0.7514 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.9113, allocations: 93.31 kB / 0.7515 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006954/0.9183, allocations: 3.715 MB / 0.7551 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.9187, allocations: 256.2 kB / 0.7553 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.9198, allocations: 0.6171 MB / 0.7559 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.9234, allocations: 1.717 MB / 0.7576 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.9235, allocations: 1.031 kB / 0.7576 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9235, allocations: 0 / 0.7576 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.928e-05/0.9235, allocations: 0.9688 kB / 0.7576 GB, free: 1.23 MB / 0.5762 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.004387/0.9279, allocations: 1.849 MB / 0.7594 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.928, allocations: 10.03 kB / 0.7594 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.9301, allocations: 295.7 kB / 0.7597 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.9319, allocations: 0.847 MB / 0.7605 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.9321, allocations: 196.6 kB / 0.7607 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.9323, allocations: 91.52 kB / 0.7608 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.9346, allocations: 1.011 MB / 0.7618 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.9346, allocations: 1.469 kB / 0.7618 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.9347, allocations: 36.59 kB / 0.7618 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.9347, allocations: 23.17 kB / 0.7619 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.9365, allocations: 0.7818 MB / 0.7626 GB, free: 15.61 MB / 0.5919 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.00631/0.9429, allocations: 4.125 MB / 0.7667 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.945, allocations: 0.8634 MB / 0.7675 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/0.9458, allocations: 427.9 kB / 0.7679 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.9469, allocations: 1.303 MB / 0.7692 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.947, allocations: 38.94 kB / 0.7692 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.926e-06/0.947, allocations: 0.9062 kB / 0.7692 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005843/0.9528, allocations: 1.921 MB / 0.7711 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.9529, allocations: 62.55 kB / 0.7712 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.9542, allocations: 0.8069 MB / 0.7719 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.9543, allocations: 39.08 kB / 0.772 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.9547, allocations: 0.5063 MB / 0.7725 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.955, allocations: 283.2 kB / 0.7727 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.9553, allocations: 153.1 kB / 0.7729 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.9555, allocations: 336.8 kB / 0.7732 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.9562, allocations: 310.3 kB / 0.7735 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008147/0.9571, allocations: 389.3 kB / 0.7739 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.9586, allocations: 0.6895 MB / 0.7745 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9586, allocations: 0 / 0.7745 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003399/0.962, allocations: 1.231 MB / 0.7758 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.9621, allocations: 4.531 kB / 0.7758 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.9621, allocations: 2.531 kB / 0.7758 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008733/0.963, allocations: 248.2 kB / 0.776 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/0.964, allocations: 210 kB / 0.7762 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/0.9702, allocations: 5.233 MB / 0.7813 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.9713, allocations: 99.88 kB / 0.7814 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.9715, allocations: 53.39 kB / 0.7815 GB, free: 6.059 MB / 0.5919 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.0006236/0.9721, allocations: 227.8 kB / 0.7817 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.9724, allocations: 106 kB / 0.7818 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.9765, allocations: 1.829 MB / 0.7836 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.9765, allocations: 10.22 kB / 0.7836 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.9765, allocations: 6.188 kB / 0.7836 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.9765, allocations: 7.203 kB / 0.7836 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005011/0.9816, allocations: 2.501 MB / 0.786 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.9816, allocations: 5.531 kB / 0.786 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009901/0.9826, allocations: 198.2 kB / 0.7862 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008309/0.9834, allocations: 249.6 kB / 0.7865 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.9835, allocations: 34.94 kB / 0.7865 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/0.9899, allocations: 5.238 MB / 0.7916 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9899, allocations: 9.844 kB / 0.7916 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/0.9939, allocations: 1.721 MB / 0.7933 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.9944, allocations: 255.9 kB / 0.7935 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.9946, allocations: 18.58 kB / 0.7936 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.9952, allocations: 56.48 kB / 0.7936 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9954, allocations: 75.97 kB / 0.7937 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/0.9955, allocations: 51.8 kB / 0.7937 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006787/0.9961, allocations: 0.5571 MB / 0.7943 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9961, allocations: 0 / 0.7943 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001508/0.9977, allocations: 483.4 kB / 0.7947 GB, free: 436 kB / 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.001238/0.9989, allocations: 0.5726 MB / 0.7953 GB, free: 248 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002975/1.002, allocations: 1.278 MB / 0.7965 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.002, allocations: 0 / 0.7965 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/1.004, allocations: 0.9112 MB / 0.7974 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.005, allocations: 265.1 kB / 0.7977 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/1.01, allocations: 2.858 MB / 0.8005 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/1.01, allocations: 1.081 MB / 0.8015 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/1.011, allocations: 185.2 kB / 0.8017 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of SimCode: time 8.01e-07/1.011, allocations: 0 / 0.8017 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.03982/1.051, allocations: 32.35 MB / 0.8333 GB, free: 4.465 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches