Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001472/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001736/0.001736, allocations: 192.5 kB / 16.14 MB, free: 6.738 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7633/0.7633, allocations: 93.7 MB / 383.7 MB, free: 7.164 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 77.25 kB / 462.7 MB, free: 22.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1238, allocations: 68.28 MB / 0.5185 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4834/0.6073, allocations: 213.2 MB / 0.7267 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.6286, allocations: 17.66 MB / 0.744 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.6303, allocations: 63.56 kB / 0.744 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.6322, allocations: 0.5478 MB / 0.7446 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.6366, allocations: 1.56 MB / 0.7461 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.6406, allocations: 1.438 MB / 0.7475 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.6438, allocations: 1.946 MB / 0.7494 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.6443, allocations: 275.3 kB / 0.7497 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.6467, allocations: 1.171 MB / 0.7508 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.6476, allocations: 0.6257 MB / 0.7514 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.6478, allocations: 67.94 kB / 0.7515 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006757/0.6546, allocations: 3.593 MB / 0.755 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.6549, allocations: 218.9 kB / 0.7552 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.6556, allocations: 0.598 MB / 0.7558 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.6599, allocations: 2.255 MB / 0.758 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.66, allocations: 0 / 0.758 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.66, allocations: 0 / 0.758 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.883e-05/0.66, allocations: 0 / 0.758 GB, free: 5.844 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.003771/0.6638, allocations: 1.853 MB / 0.7598 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6639, allocations: 11.97 kB / 0.7598 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.6659, allocations: 290.5 kB / 0.7601 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.6675, allocations: 0.8427 MB / 0.7609 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.6678, allocations: 200.8 kB / 0.7611 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.668, allocations: 95.94 kB / 0.7612 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.6704, allocations: 1.009 MB / 0.7622 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.6704, allocations: 3.984 kB / 0.7622 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6705, allocations: 36 kB / 0.7622 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.6705, allocations: 24 kB / 0.7622 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.6725, allocations: 0.7924 MB / 0.763 GB, free: 0.5469 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.006469/0.679, allocations: 4.131 MB / 0.7671 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.6812, allocations: 0.8667 MB / 0.7679 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/0.6821, allocations: 435.2 kB / 0.7683 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.6835, allocations: 1.303 MB / 0.7696 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.6836, allocations: 43.22 kB / 0.7696 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.987e-06/0.6836, allocations: 0 / 0.7696 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005818/0.6894, allocations: 1.931 MB / 0.7715 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6895, allocations: 60.06 kB / 0.7716 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.6909, allocations: 0.7995 MB / 0.7724 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.691, allocations: 45.7 kB / 0.7724 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.6914, allocations: 0.5043 MB / 0.7729 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.6917, allocations: 283.8 kB / 0.7732 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.6919, allocations: 154.6 kB / 0.7733 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6921, allocations: 333.9 kB / 0.7736 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/0.6929, allocations: 313.8 kB / 0.7739 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.6938, allocations: 391.1 kB / 0.7743 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.6954, allocations: 0.6979 MB / 0.775 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6954, allocations: 0 / 0.775 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003528/0.6989, allocations: 1.24 MB / 0.7762 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.699, allocations: 8 kB / 0.7762 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.699, allocations: 0 / 0.7762 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/0.6999, allocations: 250.4 kB / 0.7764 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.7009, allocations: 203.8 kB / 0.7766 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.7068, allocations: 4.862 MB / 0.7814 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.7077, allocations: 91.38 kB / 0.7815 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.7078, allocations: 55.97 kB / 0.7815 GB, free: 12.35 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.0005114/0.7084, allocations: 221.7 kB / 0.7817 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.7086, allocations: 114.5 kB / 0.7818 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.7134, allocations: 1.823 MB / 0.7836 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.7134, allocations: 19.92 kB / 0.7836 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.7135, allocations: 4 kB / 0.7836 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.7135, allocations: 3.984 kB / 0.7836 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/0.7191, allocations: 2.503 MB / 0.7861 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7191, allocations: 0 / 0.7861 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.7202, allocations: 191.9 kB / 0.7863 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008865/0.7211, allocations: 254.4 kB / 0.7865 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.7212, allocations: 35.98 kB / 0.7866 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005748/0.727, allocations: 4.872 MB / 0.7913 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.727, allocations: 0 / 0.7913 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.7311, allocations: 1.715 MB / 0.793 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.7316, allocations: 247.5 kB / 0.7932 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.7317, allocations: 31.92 kB / 0.7933 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/0.7324, allocations: 55.83 kB / 0.7933 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.7326, allocations: 76.5 kB / 0.7934 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.7327, allocations: 47.98 kB / 0.7934 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007423/0.7334, allocations: 0.5605 MB / 0.794 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7334, allocations: 0 / 0.794 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001442/0.7349, allocations: 467.1 kB / 0.7944 GB, free: 14.53 MB / 0.6075 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.001151/0.736, allocations: 0.5818 MB / 0.795 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.7388, allocations: 1.248 MB / 0.7962 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.7388, allocations: 4.062 kB / 0.7962 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.7406, allocations: 0.9019 MB / 0.7971 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.742, allocations: 252.4 kB / 0.7973 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.7465, allocations: 2.804 MB / 0.8001 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.7472, allocations: 1.076 MB / 0.8011 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00158/0.7488, allocations: 0.6353 MB / 0.8017 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.7493, allocations: 147.3 kB / 0.8019 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of SimCode: time 4.9e-07/0.7493, allocations: 0 / 0.8019 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.03193/0.7812, allocations: 18.99 MB / 0.8204 GB, free: 3.852 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches