Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001999/0.001999, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002782/0.002782, allocations: 217 kB / 22.25 MB, free: 5.082 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.703/1.703, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.9422/0.9422, allocations: 94.55 MB / 407 MB, free: 9.176 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_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.003664/0.003664, allocations: 92 kB / 0.555 GB, free: 38.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2173, allocations: 73.04 MB / 0.6263 GB, free: 472 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.8874/1.105, allocations: 215.8 MB / 0.837 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03245/1.137, allocations: 17.6 MB / 0.8542 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/1.14, allocations: 73.28 kB / 0.8542 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003608/1.144, allocations: 0.6271 MB / 0.8549 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009299/1.153, allocations: 1.804 MB / 0.8566 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007611/1.161, allocations: 1.699 MB / 0.8583 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004466/1.165, allocations: 1.732 MB / 0.86 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/1.166, allocations: 183.5 kB / 0.8601 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/1.17, allocations: 1.274 MB / 0.8614 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/1.172, allocations: 0.6395 MB / 0.862 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004818/1.172, allocations: 94.38 kB / 0.8621 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/1.184, allocations: 3.554 MB / 0.8656 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009796/1.185, allocations: 246.9 kB / 0.8658 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002323/1.187, allocations: 0.6253 MB / 0.8664 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/1.198, allocations: 2.394 MB / 0.8688 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.198, allocations: 0 / 0.8688 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.286e-06/1.198, allocations: 0 / 0.8688 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.961e-05/1.198, allocations: 0 / 0.8688 GB, free: 6.66 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.006231/1.204, allocations: 1.826 MB / 0.8705 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/1.204, allocations: 16.03 kB / 0.8706 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003168/1.204, allocations: 139.6 kB / 0.8707 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/1.207, allocations: 298.8 kB / 0.871 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/1.209, allocations: 0.8419 MB / 0.8718 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/1.21, allocations: 281.8 kB / 0.8721 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/1.21, allocations: 92 kB / 0.8722 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/1.213, allocations: 1.009 MB / 0.8731 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/1.213, allocations: 0 / 0.8731 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.213, allocations: 36 kB / 0.8732 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/1.213, allocations: 20 kB / 0.8732 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/1.215, allocations: 0.7885 MB / 0.874 GB, free: 1.172 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.007327/1.222, allocations: 3.828 MB / 0.8777 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/1.224, allocations: 0.8051 MB / 0.8785 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008976/1.225, allocations: 407.2 kB / 0.8789 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/1.226, allocations: 112.5 kB / 0.879 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.226, allocations: 39.22 kB / 0.879 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.447e-06/1.226, allocations: 4 kB / 0.879 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005728/1.232, allocations: 1.686 MB / 0.8807 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/1.232, allocations: 64 kB / 0.8807 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.233, allocations: 0.8034 MB / 0.8815 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.166e-05/1.233, allocations: 37.7 kB / 0.8816 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/1.234, allocations: 0.5128 MB / 0.8821 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/1.234, allocations: 293.5 kB / 0.8823 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/1.234, allocations: 158.6 kB / 0.8825 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.235, allocations: 337.9 kB / 0.8828 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/1.235, allocations: 309.8 kB / 0.8831 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008737/1.236, allocations: 388 kB / 0.8835 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.238, allocations: 0.69 MB / 0.8841 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.238, allocations: 0 / 0.8841 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003483/1.241, allocations: 1.237 MB / 0.8854 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.241, allocations: 8.062 kB / 0.8854 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.241, allocations: 4 kB / 0.8854 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009979/1.242, allocations: 250 kB / 0.8856 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/1.243, allocations: 199.7 kB / 0.8858 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/1.251, allocations: 4.928 MB / 0.8906 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/1.252, allocations: 92.75 kB / 0.8907 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/1.252, allocations: 55.98 kB / 0.8907 GB, free: 15.2 MB / 0.6387 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.0006185/1.252, allocations: 219.8 kB / 0.891 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/1.253, allocations: 115.3 kB / 0.8911 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.258, allocations: 1.822 MB / 0.8928 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.258, allocations: 8 kB / 0.8929 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.258, allocations: 4 kB / 0.8929 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.258, allocations: 7.922 kB / 0.8929 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/1.264, allocations: 2.4 MB / 0.8952 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.264, allocations: 0.875 kB / 0.8952 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.265, allocations: 199.9 kB / 0.8954 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009155/1.266, allocations: 254.6 kB / 0.8956 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.266, allocations: 31.98 kB / 0.8957 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006783/1.273, allocations: 4.925 MB / 0.9005 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.273, allocations: 4.031 kB / 0.9005 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/1.277, allocations: 1.729 MB / 0.9022 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006407/1.278, allocations: 190.9 kB / 0.9024 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/1.278, allocations: 16 kB / 0.9024 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/1.279, allocations: 43.97 kB / 0.9024 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.279, allocations: 76.86 kB / 0.9025 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.279, allocations: 51.92 kB / 0.9025 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001167/1.281, allocations: 0.5605 MB / 0.9031 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/1.281, allocations: 0 / 0.9031 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002128/1.283, allocations: 478.9 kB / 0.9035 GB, free: 1.582 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%), (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.005924/1.289, allocations: 2.745 MB / 0.9062 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003108/1.292, allocations: 1.203 MB / 0.9074 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.292, allocations: 0 / 0.9074 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.294, allocations: 0.8883 MB / 0.9083 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.295, allocations: 272.2 kB / 0.9085 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.315, allocations: 8.619 MB / 0.9169 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.316, allocations: 1.076 MB / 0.918 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001666/1.318, allocations: 0.6401 MB / 0.9186 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.319, allocations: 0.5266 MB / 0.9191 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of SimCode: time 2.414e-06/1.319, allocations: 0 / 0.9191 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.427, allocations: 31.63 MB / 0.95 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.85, allocations: 4.062 kB / 0.95 GB, free: 1.879 MB / 0.6856 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 22.38560800696723]