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.0017/0.001699, allocations: 108 kB / 15.6 MB, free: 132 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.002095/0.002095, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.648/1.648, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7689/0.7689, allocations: 93.72 MB / 384.1 MB, free: 6.957 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 77.81 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1375, allocations: 68.26 MB / 0.5193 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5427/0.6802, allocations: 214.4 MB / 0.7286 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.7023, allocations: 17.42 MB / 0.7456 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.7037, allocations: 51.69 kB / 0.7457 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.7054, allocations: 0.6248 MB / 0.7463 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.7104, allocations: 1.737 MB / 0.748 GB, free: 236 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.715, allocations: 1.666 MB / 0.7496 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.7175, allocations: 1.712 MB / 0.7513 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.718, allocations: 295.9 kB / 0.7516 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.7209, allocations: 1.183 MB / 0.7527 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.7217, allocations: 0.6374 MB / 0.7534 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.7218, allocations: 92 kB / 0.7534 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00704/0.7289, allocations: 3.382 MB / 0.7567 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.7292, allocations: 250.9 kB / 0.757 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006706/0.7298, allocations: 0.6215 MB / 0.7576 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005255/0.7351, allocations: 2.329 MB / 0.7599 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7351, allocations: 0 / 0.7599 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7351, allocations: 3.938 kB / 0.7599 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.7352, allocations: 0 / 0.7599 GB, free: 4.031 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.003551/0.7387, allocations: 1.854 MB / 0.7617 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7388, allocations: 16.02 kB / 0.7617 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.7389, allocations: 136.5 kB / 0.7618 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.7411, allocations: 290.5 kB / 0.7621 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.7426, allocations: 0.8466 MB / 0.7629 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.7428, allocations: 192.7 kB / 0.7631 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.743, allocations: 96 kB / 0.7632 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.745, allocations: 1.009 MB / 0.7642 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.745, allocations: 0 / 0.7642 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.7451, allocations: 36 kB / 0.7642 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.7451, allocations: 24 kB / 0.7642 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.7469, allocations: 0.7782 MB / 0.765 GB, free: 14.61 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.00588/0.7528, allocations: 4.138 MB / 0.7691 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.7549, allocations: 0.855 MB / 0.7699 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000846/0.7558, allocations: 435.3 kB / 0.7703 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009821/0.7567, allocations: 1.303 MB / 0.7716 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7568, allocations: 39.22 kB / 0.7716 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.293e-05/0.7568, allocations: 0 / 0.7716 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005594/0.7624, allocations: 1.915 MB / 0.7735 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.7625, allocations: 68.05 kB / 0.7735 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.7636, allocations: 0.7994 MB / 0.7743 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.7636, allocations: 41.7 kB / 0.7744 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.7641, allocations: 0.5043 MB / 0.7749 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.7644, allocations: 287.8 kB / 0.7751 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.7647, allocations: 158.6 kB / 0.7753 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7648, allocations: 333.9 kB / 0.7756 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/0.7656, allocations: 313.8 kB / 0.7759 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.7665, allocations: 383.1 kB / 0.7763 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.7681, allocations: 0.6901 MB / 0.7769 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7681, allocations: 0 / 0.7769 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003561/0.7717, allocations: 1.243 MB / 0.7782 GB, free: 312 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7717, allocations: 4 kB / 0.7782 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7717, allocations: 0 / 0.7782 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009324/0.7727, allocations: 250.4 kB / 0.7784 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.7737, allocations: 199.8 kB / 0.7786 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/0.7807, allocations: 5.237 MB / 0.7837 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.7817, allocations: 87.23 kB / 0.7838 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.7819, allocations: 55.98 kB / 0.7838 GB, free: 10.05 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.0005108/0.7824, allocations: 231.2 kB / 0.7841 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.7828, allocations: 106.7 kB / 0.7842 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.7876, allocations: 1.834 MB / 0.786 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7877, allocations: 8 kB / 0.786 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7877, allocations: 4 kB / 0.786 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.7877, allocations: 15.89 kB / 0.786 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/0.7934, allocations: 2.508 MB / 0.7884 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7935, allocations: 0 / 0.7884 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.7946, allocations: 191.8 kB / 0.7886 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008141/0.7954, allocations: 258.4 kB / 0.7889 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.7955, allocations: 31.98 kB / 0.7889 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006944/0.8025, allocations: 5.235 MB / 0.794 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8025, allocations: 4.031 kB / 0.794 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.8071, allocations: 1.732 MB / 0.7957 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.8076, allocations: 255.5 kB / 0.7959 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.8078, allocations: 16 kB / 0.796 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.8085, allocations: 39.97 kB / 0.796 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8087, allocations: 80.84 kB / 0.7961 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/0.8089, allocations: 55.91 kB / 0.7961 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008087/0.8097, allocations: 0.5527 MB / 0.7967 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8097, allocations: 0 / 0.7967 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001542/0.8113, allocations: 479.1 kB / 0.7971 GB, free: 11.82 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.005745/0.817, allocations: 2.744 MB / 0.7998 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003318/0.8204, allocations: 1.285 MB / 0.8011 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8204, allocations: 0 / 0.8011 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.8225, allocations: 0.9041 MB / 0.8019 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.8241, allocations: 281.9 kB / 0.8022 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.8426, allocations: 9.075 MB / 0.8111 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.8435, allocations: 1.088 MB / 0.8121 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00178/0.8453, allocations: 0.6349 MB / 0.8128 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009082/0.8463, allocations: 0.5188 MB / 0.8133 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/0.8463, allocations: 0 / 0.8133 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.936/2.782, allocations: 30.48 MB / 0.843 GB, free: 234.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/14.51, allocations: 2.219 kB / 0.843 GB, free: 234.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > 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