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.00121/0.00121, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001355/0.001355, allocations: 214.1 kB / 23.04 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.7433/0.7433, allocations: 94.55 MB / 407.8 MB, free: 9.215 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="cs",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.002414/0.002414, allocations: 83.03 kB / 0.5557 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1166, allocations: 73.06 MB / 0.6271 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5421/0.6587, allocations: 215.8 MB / 0.8378 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.6777, allocations: 17.61 MB / 0.855 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.6793, allocations: 70.88 kB / 0.855 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.6812, allocations: 0.6231 MB / 0.8556 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.6869, allocations: 1.801 MB / 0.8574 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00492/0.6918, allocations: 1.702 MB / 0.8591 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002787/0.6946, allocations: 1.729 MB / 0.8608 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.695, allocations: 189.9 kB / 0.8609 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.6974, allocations: 1.26 MB / 0.8622 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000804/0.6982, allocations: 0.6413 MB / 0.8628 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.6983, allocations: 93.53 kB / 0.8629 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/0.7052, allocations: 3.547 MB / 0.8663 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.7056, allocations: 254.9 kB / 0.8666 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.7066, allocations: 0.6254 MB / 0.8672 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006545/0.7132, allocations: 2.394 MB / 0.8695 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7132, allocations: 4 kB / 0.8695 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7132, allocations: 4 kB / 0.8695 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.021e-05/0.7132, allocations: 0 / 0.8695 GB, free: 6.711 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.004034/0.7172, allocations: 1.822 MB / 0.8713 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.7173, allocations: 8.031 kB / 0.8713 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.983e-05/0.7173, allocations: 26 kB / 0.8714 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.7175, allocations: 147.5 kB / 0.8715 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.7195, allocations: 298.8 kB / 0.8718 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.7213, allocations: 0.8419 MB / 0.8726 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/0.7216, allocations: 277.8 kB / 0.8729 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.7218, allocations: 92 kB / 0.873 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.7238, allocations: 1.005 MB / 0.8739 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.7238, allocations: 4 kB / 0.8739 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/0.7239, allocations: 40 kB / 0.874 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.7239, allocations: 20 kB / 0.874 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.7257, allocations: 0.7807 MB / 0.8748 GB, free: 1.207 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.00537/0.731, allocations: 3.836 MB / 0.8785 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.733, allocations: 0.8083 MB / 0.8793 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000822/0.7338, allocations: 403.2 kB / 0.8797 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/0.7342, allocations: 124.5 kB / 0.8798 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.7342, allocations: 40.16 kB / 0.8798 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.305e-06/0.7342, allocations: 0 / 0.8798 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005303/0.7395, allocations: 1.69 MB / 0.8815 GB, free: 10 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.7396, allocations: 64.06 kB / 0.8816 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7406, allocations: 0.7956 MB / 0.8823 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.7407, allocations: 45.64 kB / 0.8824 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.7411, allocations: 0.5128 MB / 0.8829 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.7414, allocations: 293.5 kB / 0.8832 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.7417, allocations: 150.6 kB / 0.8833 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7418, allocations: 333.9 kB / 0.8836 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007388/0.7425, allocations: 317.8 kB / 0.8839 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/0.7433, allocations: 387.1 kB / 0.8843 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.7449, allocations: 0.6862 MB / 0.885 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7449, allocations: 0 / 0.885 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003295/0.7482, allocations: 1.237 MB / 0.8862 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.7482, allocations: 4 kB / 0.8862 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7482, allocations: 4 kB / 0.8862 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/0.7491, allocations: 250 kB / 0.8864 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/0.7501, allocations: 199.8 kB / 0.8866 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.7564, allocations: 4.933 MB / 0.8914 GB, free: 15.38 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.7572, allocations: 87.48 kB / 0.8915 GB, free: 15.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.7574, allocations: 55.98 kB / 0.8916 GB, free: 15.23 MB / 0.6388 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.0004761/0.7578, allocations: 221.7 kB / 0.8918 GB, free: 15.01 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.7581, allocations: 115.3 kB / 0.8919 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.7626, allocations: 1.819 MB / 0.8937 GB, free: 13.06 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.7626, allocations: 8 kB / 0.8937 GB, free: 13.05 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.7626, allocations: 8 kB / 0.8937 GB, free: 13.04 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.7626, allocations: 7.922 kB / 0.8937 GB, free: 13.04 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/0.7679, allocations: 2.397 MB / 0.896 GB, free: 10.56 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7679, allocations: 0 / 0.896 GB, free: 10.56 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.7689, allocations: 199.9 kB / 0.8962 GB, free: 10.37 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008696/0.7698, allocations: 250.6 kB / 0.8964 GB, free: 10.11 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.7699, allocations: 47.91 kB / 0.8965 GB, free: 10.07 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006432/0.7764, allocations: 4.925 MB / 0.9013 GB, free: 4.797 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7764, allocations: 4.031 kB / 0.9013 GB, free: 4.793 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.7807, allocations: 1.729 MB / 0.903 GB, free: 3.023 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.7812, allocations: 190.9 kB / 0.9032 GB, free: 2.836 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.7814, allocations: 16 kB / 0.9032 GB, free: 2.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.7821, allocations: 39.97 kB / 0.9032 GB, free: 2.781 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.7822, allocations: 84.8 kB / 0.9033 GB, free: 2.699 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.7823, allocations: 43.98 kB / 0.9034 GB, free: 2.656 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0008195/0.7831, allocations: 0.5605 MB / 0.9039 GB, free: 2.086 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6e-08/0.7831, allocations: 0 / 0.9039 GB, free: 2.086 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001394/0.7845, allocations: 486.8 kB / 0.9044 GB, free: 1.609 MB / 0.6388 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.005499/0.79, allocations: 2.74 MB / 0.907 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003069/0.7931, allocations: 1.203 MB / 0.9082 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7931, allocations: 0 / 0.9082 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.795, allocations: 0.8806 MB / 0.9091 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.7966, allocations: 275.2 kB / 0.9093 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.8135, allocations: 8.613 MB / 0.9177 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.8143, allocations: 1.08 MB / 0.9188 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001361/0.8157, allocations: 0.6305 MB / 0.9194 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008479/0.8165, allocations: 0.5266 MB / 0.9199 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.8165, allocations: 0 / 0.9199 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07476/0.8913, allocations: 31.68 MB / 0.9509 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.69, allocations: 7.328 kB / 0.9509 GB, free: 1.891 MB / 0.6856 GB " [Timeout remaining time 645] (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: 18.282916074967943]