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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.002136/0.002137, 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.002542/0.002542, allocations: 195.7 kB / 16.53 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.695/1.695, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8899/0.8899, allocations: 93.72 MB / 384.1 MB, free: 6.984 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 81.62 kB / 463.5 MB, free: 21.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1781, allocations: 68.26 MB / 0.5193 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.7106/0.8888, allocations: 214.3 MB / 0.7286 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.9153, allocations: 17.42 MB / 0.7456 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.9174, allocations: 51.62 kB / 0.7457 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.9196, allocations: 0.6286 MB / 0.7463 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006593/0.9263, allocations: 1.734 MB / 0.748 GB, free: 320 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.9318, allocations: 1.666 MB / 0.7496 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.9354, allocations: 1.709 MB / 0.7513 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006917/0.9361, allocations: 299.9 kB / 0.7516 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.9395, allocations: 1.191 MB / 0.7527 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.9405, allocations: 0.6296 MB / 0.7534 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.9407, allocations: 92 kB / 0.7534 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008332/0.9491, allocations: 3.385 MB / 0.7568 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.9495, allocations: 246.9 kB / 0.757 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.9507, allocations: 0.6292 MB / 0.7576 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006778/0.9574, allocations: 2.322 MB / 0.7599 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.9575, allocations: 0 / 0.7599 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9575, allocations: 0 / 0.7599 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.9575, allocations: 0 / 0.7599 GB, free: 4.113 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.004408/0.9619, allocations: 1.846 MB / 0.7617 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.962, allocations: 16.03 kB / 0.7617 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.9622, allocations: 139.5 kB / 0.7618 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.9645, allocations: 295.4 kB / 0.7621 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.9662, allocations: 0.8427 MB / 0.7629 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.9665, allocations: 200.7 kB / 0.7631 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.9667, allocations: 92 kB / 0.7632 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.9688, allocations: 1.005 MB / 0.7642 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.9689, allocations: 4 kB / 0.7642 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.969, allocations: 36 kB / 0.7642 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.969, allocations: 24 kB / 0.7642 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.9708, allocations: 0.7807 MB / 0.765 GB, free: 14.69 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.006182/0.977, allocations: 4.13 MB / 0.769 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.9791, allocations: 0.864 MB / 0.7699 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.98, allocations: 423.3 kB / 0.7703 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.9812, allocations: 1.307 MB / 0.7716 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.9812, allocations: 43.22 kB / 0.7716 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.896e-06/0.9812, allocations: 0 / 0.7716 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005743/0.987, allocations: 1.923 MB / 0.7735 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.987, allocations: 60.06 kB / 0.7735 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.9884, allocations: 0.7994 MB / 0.7743 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/0.9885, allocations: 37.7 kB / 0.7744 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.9891, allocations: 0.5198 MB / 0.7749 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.9894, allocations: 275.8 kB / 0.7751 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.9897, allocations: 158.6 kB / 0.7753 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.9899, allocations: 333.9 kB / 0.7756 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.9907, allocations: 313.8 kB / 0.7759 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.9916, allocations: 379.1 kB / 0.7763 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.9932, allocations: 0.694 MB / 0.7769 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.9932, allocations: 0 / 0.7769 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003517/0.9967, allocations: 1.24 MB / 0.7782 GB, free: 396 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9968, allocations: 6.812 kB / 0.7782 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.9968, allocations: 7.625 kB / 0.7782 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/0.9977, allocations: 250.4 kB / 0.7784 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.9988, allocations: 199.8 kB / 0.7786 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/1.006, allocations: 5.229 MB / 0.7837 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.007, allocations: 87.28 kB / 0.7838 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.007, allocations: 55.98 kB / 0.7838 GB, free: 10.14 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.0006611/1.008, allocations: 231.2 kB / 0.7841 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/1.008, allocations: 102.7 kB / 0.7842 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005023/1.013, allocations: 1.843 MB / 0.786 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.013, allocations: 8 kB / 0.786 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.013, allocations: 4 kB / 0.786 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/1.013, allocations: 7.922 kB / 0.786 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/1.019, allocations: 2.504 MB / 0.7884 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.019, allocations: 0 / 0.7884 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.02, allocations: 195.8 kB / 0.7886 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009411/1.021, allocations: 254.4 kB / 0.7888 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.021, allocations: 35.97 kB / 0.7889 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00738/1.029, allocations: 5.239 MB / 0.794 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.029, allocations: 3.938 kB / 0.794 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/1.033, allocations: 1.739 MB / 0.7957 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/1.034, allocations: 251.5 kB / 0.7959 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.034, allocations: 20 kB / 0.796 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/1.035, allocations: 39.95 kB / 0.796 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/1.035, allocations: 76.91 kB / 0.7961 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/1.035, allocations: 51.92 kB / 0.7961 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008912/1.036, allocations: 0.5605 MB / 0.7967 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.405e-06/1.036, allocations: 0 / 0.7967 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001928/1.038, allocations: 475.1 kB / 0.7971 GB, free: 11.91 MB / 0.6075 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.005949/1.044, allocations: 2.744 MB / 0.7998 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003579/1.047, allocations: 1.285 MB / 0.8011 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.047, allocations: 0 / 0.8011 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/1.049, allocations: 0.9002 MB / 0.8019 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/1.051, allocations: 276.5 kB / 0.8022 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.068, allocations: 9.077 MB / 0.8111 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/1.069, allocations: 1.084 MB / 0.8121 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001693/1.071, allocations: 0.6315 MB / 0.8127 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008776/1.072, allocations: 0.5188 MB / 0.8132 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/1.072, allocations: 0 / 0.8132 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4025/1.474, allocations: 30.5 MB / 0.843 GB, free: 234.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/14.31, allocations: 3.703 kB / 0.843 GB, free: 234.8 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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_CrossFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.csv","/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