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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002007/0.002008, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 199.2 kB / 16.54 MB, free: 6.664 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.687/1.687, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9294/0.9294, allocations: 93.7 MB / 384.1 MB, free: 6.996 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 78.72 kB / 463.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1796, allocations: 68.26 MB / 0.5193 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.8137/0.9934, allocations: 214.4 MB / 0.7286 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02849/1.022, allocations: 17.42 MB / 0.7456 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/1.024, allocations: 47.69 kB / 0.7457 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/1.027, allocations: 0.6247 MB / 0.7463 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008641/1.036, allocations: 1.741 MB / 0.748 GB, free: 340 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007678/1.044, allocations: 1.663 MB / 0.7496 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00434/1.048, allocations: 1.716 MB / 0.7513 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/1.049, allocations: 295.9 kB / 0.7516 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/1.053, allocations: 1.195 MB / 0.7527 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/1.054, allocations: 0.6335 MB / 0.7534 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/1.054, allocations: 96 kB / 0.7535 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009743/1.064, allocations: 3.378 MB / 0.7568 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003741/1.064, allocations: 246.9 kB / 0.757 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/1.065, allocations: 0.6253 MB / 0.7576 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007519/1.073, allocations: 2.333 MB / 0.7599 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.073, allocations: 0 / 0.7599 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/1.073, allocations: 0 / 0.7599 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.814e-05/1.073, allocations: 0 / 0.7599 GB, free: 4.121 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.004891/1.078, allocations: 1.846 MB / 0.7617 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/1.078, allocations: 12.03 kB / 0.7617 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/1.078, allocations: 139.6 kB / 0.7618 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/1.081, allocations: 290.5 kB / 0.7621 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.082, allocations: 0.8504 MB / 0.7629 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/1.083, allocations: 201.6 kB / 0.7631 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/1.083, allocations: 92 kB / 0.7632 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/1.086, allocations: 1.009 MB / 0.7642 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.086, allocations: 4 kB / 0.7642 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/1.086, allocations: 36 kB / 0.7642 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/1.086, allocations: 24 kB / 0.7643 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/1.088, allocations: 0.7885 MB / 0.765 GB, free: 14.68 MB / 0.5762 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.007097/1.095, allocations: 4.138 MB / 0.7691 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/1.097, allocations: 0.8676 MB / 0.7699 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/1.098, allocations: 441.3 kB / 0.7703 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/1.1, allocations: 1.299 MB / 0.7716 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/1.1, allocations: 39.22 kB / 0.7716 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 4.048e-06/1.1, allocations: 0 / 0.7716 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.006102/1.106, allocations: 1.935 MB / 0.7735 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/1.106, allocations: 64.05 kB / 0.7736 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.107, allocations: 0.8033 MB / 0.7744 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-05/1.107, allocations: 41.7 kB / 0.7744 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/1.108, allocations: 0.5043 MB / 0.7749 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/1.108, allocations: 279.8 kB / 0.7752 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/1.109, allocations: 154.6 kB / 0.7753 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.109, allocations: 333.9 kB / 0.7756 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008112/1.11, allocations: 313.8 kB / 0.7759 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.111, allocations: 391.1 kB / 0.7763 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.113, allocations: 0.694 MB / 0.777 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.113, allocations: 1.188 kB / 0.777 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003892/1.117, allocations: 1.248 MB / 0.7782 GB, free: 348 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.117, allocations: 4 kB / 0.7782 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.117, allocations: 4 kB / 0.7782 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009879/1.118, allocations: 254.4 kB / 0.7785 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.119, allocations: 200.6 kB / 0.7787 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/1.127, allocations: 5.233 MB / 0.7838 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.128, allocations: 91.28 kB / 0.7839 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.128, allocations: 51.98 kB / 0.7839 GB, free: 10.09 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.0008445/1.129, allocations: 231.2 kB / 0.7841 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/1.129, allocations: 102.7 kB / 0.7842 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/1.135, allocations: 1.83 MB / 0.786 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.135, allocations: 8 kB / 0.786 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.135, allocations: 4 kB / 0.786 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.135, allocations: 7.922 kB / 0.786 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/1.141, allocations: 2.491 MB / 0.7885 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.141, allocations: 0 / 0.7885 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.142, allocations: 191.8 kB / 0.7886 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009079/1.143, allocations: 262.3 kB / 0.7889 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.84e-05/1.144, allocations: 31.98 kB / 0.7889 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007702/1.151, allocations: 5.25 MB / 0.794 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.151, allocations: 0 / 0.794 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/1.156, allocations: 1.722 MB / 0.7957 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/1.157, allocations: 255.5 kB / 0.796 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.157, allocations: 23.98 kB / 0.796 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/1.158, allocations: 35.97 kB / 0.796 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.158, allocations: 76.5 kB / 0.7961 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.158, allocations: 55.92 kB / 0.7962 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001176/1.159, allocations: 0.5566 MB / 0.7967 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.4e-07/1.159, allocations: 0 / 0.7967 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001974/1.161, allocations: 479.1 kB / 0.7972 GB, free: 11.88 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.006553/1.168, allocations: 2.742 MB / 0.7998 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.172, allocations: 1.279 MB / 0.8011 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.172, allocations: 0 / 0.8011 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.174, allocations: 0.8981 MB / 0.802 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/1.176, allocations: 268.1 kB / 0.8022 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.198, allocations: 9.088 MB / 0.8111 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.199, allocations: 1.08 MB / 0.8121 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002145/1.201, allocations: 0.6349 MB / 0.8128 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.202, allocations: 0.5226 MB / 0.8133 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of SimCode: time 1.432e-06/1.202, allocations: 0 / 0.8133 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4556/1.658, allocations: 30.3 MB / 0.8429 GB, free: 234.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/14.54, allocations: 5.562 kB / 0.8429 GB, free: 234.8 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches