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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 103.6 kB / 18.95 MB, free: 2.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 213.6 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.743/1.743, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.004/1.004, allocations: 100.9 MB / 413.3 MB, free: 2.871 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 84.23 kB / 0.5641 GB, free: 35.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2088, allocations: 74.61 MB / 0.6369 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.8223/1.031, allocations: 187.2 MB / 0.8198 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02583/1.057, allocations: 15.83 MB / 0.8352 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/1.059, allocations: 72.53 kB / 0.8353 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/1.061, allocations: 0.5572 MB / 0.8358 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006851/1.068, allocations: 1.787 MB / 0.8376 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006235/1.074, allocations: 1.678 MB / 0.8392 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003398/1.078, allocations: 1.718 MB / 0.8409 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/1.078, allocations: 176.9 kB / 0.8411 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/1.081, allocations: 1.261 MB / 0.8423 GB, free: 32 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009096/1.082, allocations: 0.5728 MB / 0.8428 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/1.082, allocations: 97.91 kB / 0.8429 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007741/1.09, allocations: 3.328 MB / 0.8462 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/1.09, allocations: 242 kB / 0.8464 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/1.091, allocations: 0.5027 MB / 0.8469 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005882/1.097, allocations: 2.373 MB / 0.8492 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/1.097, allocations: 3.984 kB / 0.8492 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.586e-06/1.097, allocations: 0 / 0.8492 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.673e-05/1.097, allocations: 3.938 kB / 0.8492 GB, free: 12.19 MB / 0.6075 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.004042/1.101, allocations: 1.81 MB / 0.851 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/1.101, allocations: 9.594 kB / 0.851 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/1.101, allocations: 144.7 kB / 0.8511 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/1.103, allocations: 299.1 kB / 0.8514 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/1.105, allocations: 0.8501 MB / 0.8523 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/1.106, allocations: 302.2 kB / 0.8526 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.106, allocations: 89.28 kB / 0.8526 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/1.108, allocations: 0.9877 MB / 0.8536 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.108, allocations: 0 / 0.8536 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.108, allocations: 35.91 kB / 0.8536 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/1.108, allocations: 21.41 kB / 0.8537 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/1.11, allocations: 0.8311 MB / 0.8545 GB, free: 8.613 MB / 0.6075 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.005444/1.116, allocations: 2.645 MB / 0.857 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/1.118, allocations: 0.8053 MB / 0.8578 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008847/1.119, allocations: 389 kB / 0.8582 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/1.119, allocations: 110.2 kB / 0.8583 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/1.119, allocations: 40.41 kB / 0.8584 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.437e-06/1.119, allocations: 0 / 0.8584 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00561/1.125, allocations: 1.741 MB / 0.8601 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.125, allocations: 60.03 kB / 0.8601 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.126, allocations: 0.8004 MB / 0.8609 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/1.126, allocations: 37.7 kB / 0.8609 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/1.127, allocations: 0.5244 MB / 0.8614 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.127, allocations: 281.5 kB / 0.8617 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.127, allocations: 154.6 kB / 0.8619 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003015/1.128, allocations: 330 kB / 0.8622 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/1.128, allocations: 297.8 kB / 0.8625 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/1.129, allocations: 363.1 kB / 0.8628 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/1.131, allocations: 0.655 MB / 0.8634 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.131, allocations: 0 / 0.8634 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00308/1.134, allocations: 1.159 MB / 0.8646 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.134, allocations: 8 kB / 0.8646 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.134, allocations: 7.922 kB / 0.8646 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/1.135, allocations: 234 kB / 0.8648 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/1.136, allocations: 179.8 kB / 0.865 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/1.143, allocations: 4.843 MB / 0.8697 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.145, allocations: 87.55 kB / 0.8698 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.145, allocations: 51.98 kB / 0.8698 GB, free: 10.8 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 (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 {(2,2,100.0%), (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.0007172/1.145, allocations: 227 kB / 0.8701 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/1.146, allocations: 119.2 kB / 0.8702 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/1.15, allocations: 1.743 MB / 0.8719 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.15, allocations: 8 kB / 0.8719 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.15, allocations: 3.984 kB / 0.8719 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.15, allocations: 7.984 kB / 0.8719 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005492/1.156, allocations: 2.146 MB / 0.874 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.156, allocations: 4.797 kB / 0.874 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/1.157, allocations: 172 kB / 0.8742 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007998/1.157, allocations: 234.8 kB / 0.8744 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/1.158, allocations: 31.98 kB / 0.8744 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/1.165, allocations: 4.851 MB / 0.8792 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.165, allocations: 4.031 kB / 0.8792 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/1.169, allocations: 1.671 MB / 0.8808 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/1.17, allocations: 183 kB / 0.881 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.17, allocations: 23.94 kB / 0.881 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005764/1.17, allocations: 43.91 kB / 0.881 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.171, allocations: 76.81 kB / 0.8811 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.171, allocations: 51.97 kB / 0.8811 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001268/1.172, allocations: 0.5566 MB / 0.8817 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/1.172, allocations: 0 / 0.8817 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001746/1.174, allocations: 490.8 kB / 0.8822 GB, free: 13.68 MB / 0.6387 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%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005663/1.179, allocations: 2.678 MB / 0.8848 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002821/1.182, allocations: 1.141 MB / 0.8859 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.182, allocations: 128 / 0.8859 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/1.184, allocations: 0.8142 MB / 0.8867 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.185, allocations: 270.8 kB / 0.8869 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.204, allocations: 8.503 MB / 0.8952 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/1.204, allocations: 499.2 kB / 0.8957 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001654/1.206, allocations: 0.6449 MB / 0.8964 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009831/1.207, allocations: 0.5149 MB / 0.8969 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of SimCode: time 1.633e-06/1.207, allocations: 0 / 0.8969 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.315, allocations: 32.91 MB / 0.929 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.44, allocations: 7.922 kB / 0.929 GB, free: 13.71 MB / 0.6856 GB " [Timeout remaining time 643] (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 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.02072932338342]