Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002286/0.002286, allocations: 193 kB / 16.25 MB, free: 6.629 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.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.734/0.734, allocations: 91.19 MB / 381.3 MB, free: 9.547 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 77.75 kB / 459.8 MB, free: 23.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 67.7 MB / 0.5151 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4812/0.5971, allocations: 233.2 MB / 0.7429 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.6239, allocations: 22.27 MB / 0.7646 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.6263, allocations: 71.5 kB / 0.7647 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.6289, allocations: 0.6955 MB / 0.7654 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.6354, allocations: 1.843 MB / 0.7672 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006429/0.6418, allocations: 1.991 MB / 0.7691 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.6453, allocations: 2.185 MB / 0.7712 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.6461, allocations: 417.4 kB / 0.7716 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.6491, allocations: 1.417 MB / 0.773 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6504, allocations: 0.8436 MB / 0.7738 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.6507, allocations: 132 kB / 0.774 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008244/0.6589, allocations: 4.422 MB / 0.7783 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.6594, allocations: 350.6 kB / 0.7786 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.6604, allocations: 0.8198 MB / 0.7794 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.6668, allocations: 2.964 MB / 0.7823 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.6668, allocations: 4 kB / 0.7823 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6669, allocations: 0 / 0.7823 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.6669, allocations: 0 / 0.7823 GB, free: 13.96 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00427/0.6712, allocations: 2.288 MB / 0.7846 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6712, allocations: 12.03 kB / 0.7846 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.6742, allocations: 417.3 kB / 0.785 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.6759, allocations: 0.9848 MB / 0.7859 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.6762, allocations: 348.1 kB / 0.7863 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.6765, allocations: 135.9 kB / 0.7864 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.6793, allocations: 1.454 MB / 0.7878 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.6794, allocations: 3.938 kB / 0.7878 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.6795, allocations: 52 kB / 0.7879 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.6795, allocations: 28 kB / 0.7879 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.6823, allocations: 1.192 MB / 0.7891 GB, free: 6.84 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.007232/0.6895, allocations: 5.452 MB / 0.7944 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.6926, allocations: 1.33 MB / 0.7957 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.6942, allocations: 0.7066 MB / 0.7964 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.6954, allocations: 1.794 MB / 0.7981 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6955, allocations: 43.56 kB / 0.7982 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.717e-06/0.6955, allocations: 0 / 0.7982 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.008884/0.7044, allocations: 3.043 MB / 0.8011 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.7045, allocations: 68.41 kB / 0.8012 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.7057, allocations: 0.8716 MB / 0.802 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.7058, allocations: 45.7 kB / 0.8021 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.7062, allocations: 0.6103 MB / 0.8027 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.7066, allocations: 390.2 kB / 0.8031 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.707, allocations: 202.8 kB / 0.8033 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7071, allocations: 345.9 kB / 0.8036 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.7083, allocations: 0.4905 MB / 0.8041 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.7096, allocations: 0.5801 MB / 0.8046 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.7122, allocations: 1.062 MB / 0.8057 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.7122, allocations: 4 kB / 0.8057 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00562/0.7178, allocations: 1.912 MB / 0.8075 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.7179, allocations: 8.062 kB / 0.8075 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.7179, allocations: 0 / 0.8075 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.7194, allocations: 414.1 kB / 0.8079 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.721, allocations: 299.7 kB / 0.8082 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.731, allocations: 7.423 MB / 0.8155 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.7324, allocations: 151 kB / 0.8156 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.7327, allocations: 71.97 kB / 0.8157 GB, free: 9.938 MB / 0.6231 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006823/0.7334, allocations: 265.5 kB / 0.8159 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.7337, allocations: 126.4 kB / 0.8161 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/0.7411, allocations: 2.724 MB / 0.8187 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.7411, allocations: 12 kB / 0.8187 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.7411, allocations: 4 kB / 0.8187 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.7411, allocations: 11.92 kB / 0.8187 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/0.7497, allocations: 3.592 MB / 0.8223 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.7497, allocations: 384 / 0.8223 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.7514, allocations: 283.7 kB / 0.8225 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.7527, allocations: 430.9 kB / 0.8229 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.7529, allocations: 51.91 kB / 0.823 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2558/1.009, allocations: 7.416 MB / 0.8302 GB, free: 238.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.009, allocations: 1.688 kB / 0.8302 GB, free: 238.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007686/1.016, allocations: 2.6 MB / 0.8328 GB, free: 238 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/1.017, allocations: 309.3 kB / 0.8331 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.017, allocations: 29.92 kB / 0.8331 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008987/1.018, allocations: 92.56 kB / 0.8332 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/1.018, allocations: 102.2 kB / 0.8333 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.019, allocations: 68.95 kB / 0.8333 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007421/1.019, allocations: 0.6086 MB / 0.8339 GB, free: 237.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/1.019, allocations: 4.375 kB / 0.8339 GB, free: 237.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001722/1.021, allocations: 0.5971 MB / 0.8345 GB, free: 237.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.00123/1.022, allocations: 0.6908 MB / 0.8352 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004588/1.027, allocations: 1.939 MB / 0.8371 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.027, allocations: 0 / 0.8371 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/1.03, allocations: 1.372 MB / 0.8384 GB, free: 235.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.031, allocations: 313.3 kB / 0.8387 GB, free: 235.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/1.037, allocations: 3.63 MB / 0.8423 GB, free: 233.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/1.037, allocations: 1.193 MB / 0.8434 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002517/1.04, allocations: 0.8374 MB / 0.8443 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/1.04, allocations: 187.3 kB / 0.8444 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of SimCode: time 7.42e-07/1.04, allocations: 0 / 0.8444 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.0396/1.08, allocations: 25.09 MB / 0.8689 GB, free: 221.7 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches