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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5983/0.5983, allocations: 94.59 MB / 399 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 91.78 kB / 0.5442 GB, free: 12.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3566, allocations: 71.84 MB / 0.6144 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2521/0.6087, allocations: 215.6 MB / 0.825 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.63, allocations: 17.61 MB / 0.8422 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.631, allocations: 51.62 kB / 0.8422 GB, free: 11 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.6325, allocations: 0.6209 MB / 0.8428 GB, free: 10.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.6371, allocations: 1.771 MB / 0.8445 GB, free: 8.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.6415, allocations: 1.685 MB / 0.8462 GB, free: 6.914 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.6436, allocations: 1.724 MB / 0.8479 GB, free: 5.176 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.644, allocations: 194.5 kB / 0.8481 GB, free: 4.977 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.6463, allocations: 1.222 MB / 0.8492 GB, free: 3.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007233/0.6471, allocations: 0.6335 MB / 0.8499 GB, free: 3.113 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.6472, allocations: 96 kB / 0.85 GB, free: 3.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/0.6537, allocations: 3.477 MB / 0.8534 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.654, allocations: 250.9 kB / 0.8536 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000593/0.6546, allocations: 0.6215 MB / 0.8542 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003902/0.6585, allocations: 2.382 MB / 0.8565 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6585, allocations: 3.938 kB / 0.8565 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6585, allocations: 4 kB / 0.8565 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.6585, allocations: 4 kB / 0.8565 GB, free: 12.27 MB / 0.6856 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.003228/0.6617, allocations: 1.893 MB / 0.8584 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6618, allocations: 12.03 kB / 0.8584 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.6619, allocations: 143.6 kB / 0.8585 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.6639, allocations: 294.8 kB / 0.8588 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.6655, allocations: 0.9413 MB / 0.8597 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.6657, allocations: 200.7 kB / 0.8599 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6659, allocations: 88 kB / 0.86 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.6679, allocations: 1.005 MB / 0.861 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.6679, allocations: 0 / 0.861 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.668, allocations: 36 kB / 0.861 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.668, allocations: 28 kB / 0.8611 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.6697, allocations: 0.7807 MB / 0.8618 GB, free: 6.699 MB / 0.6856 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.005491/0.6752, allocations: 4.124 MB / 0.8658 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.6771, allocations: 0.812 MB / 0.8666 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.6779, allocations: 395.2 kB / 0.867 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2402/0.9181, allocations: 1.298 MB / 0.8683 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.9181, allocations: 40.56 kB / 0.8683 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 2.775e-06/0.9181, allocations: 0.5938 kB / 0.8683 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.005496/0.9236, allocations: 1.921 MB / 0.8702 GB, free: 235.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.9237, allocations: 62.25 kB / 0.8703 GB, free: 235.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/0.9246, allocations: 0.7987 MB / 0.871 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.9247, allocations: 39.23 kB / 0.8711 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.925, allocations: 0.5189 MB / 0.8716 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.9251, allocations: 293.6 kB / 0.8719 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.9253, allocations: 156 kB / 0.872 GB, free: 234.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.9254, allocations: 334.9 kB / 0.8723 GB, free: 234 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.9261, allocations: 310.7 kB / 0.8726 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.9269, allocations: 386.8 kB / 0.873 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.9281, allocations: 0.6903 MB / 0.8737 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9281, allocations: 0.6875 kB / 0.8737 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002939/0.9311, allocations: 1.234 MB / 0.8749 GB, free: 233 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9311, allocations: 6.312 kB / 0.8749 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9311, allocations: 2.781 kB / 0.8749 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.9318, allocations: 248.1 kB / 0.8751 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/0.9328, allocations: 205 kB / 0.8753 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.9378, allocations: 5.223 MB / 0.8804 GB, free: 228.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.9386, allocations: 89.25 kB / 0.8805 GB, free: 228.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.9387, allocations: 54.91 kB / 0.8805 GB, free: 228.3 MB / 0.6856 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.000497/0.9392, allocations: 236 kB / 0.8808 GB, free: 228.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.9393, allocations: 114 kB / 0.8809 GB, free: 228.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.9436, allocations: 1.829 MB / 0.8827 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/0.9436, allocations: 8.344 kB / 0.8827 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/0.9436, allocations: 3.844 kB / 0.8827 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/0.9437, allocations: 4.172 kB / 0.8827 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.9489, allocations: 2.49 MB / 0.8851 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.9489, allocations: 4.5 kB / 0.8851 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.9499, allocations: 198.5 kB / 0.8853 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007325/0.9507, allocations: 253.5 kB / 0.8856 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/0.9508, allocations: 33 kB / 0.8856 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.9557, allocations: 5.234 MB / 0.8907 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9557, allocations: 4.406 kB / 0.8907 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.9597, allocations: 1.724 MB / 0.8924 GB, free: 221 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.96, allocations: 265.3 kB / 0.8926 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.9601, allocations: 26.53 kB / 0.8927 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.9607, allocations: 38.58 kB / 0.8927 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.9609, allocations: 72.3 kB / 0.8928 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.9609, allocations: 54.41 kB / 0.8928 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006041/0.9616, allocations: 0.5563 MB / 0.8934 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9616, allocations: 5.406 kB / 0.8934 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001322/0.9629, allocations: 479 kB / 0.8938 GB, free: 220.4 MB / 0.6856 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.0047/0.9676, allocations: 2.75 MB / 0.8965 GB, free: 219.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.97, allocations: 1.209 MB / 0.8977 GB, free: 218.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.97, allocations: 3.938 kB / 0.8977 GB, free: 218.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.9716, allocations: 0.8792 MB / 0.8986 GB, free: 218 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.9728, allocations: 254.7 kB / 0.8988 GB, free: 217.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.9868, allocations: 8.62 MB / 0.9072 GB, free: 212.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.9873, allocations: 1.076 MB / 0.9083 GB, free: 212 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00111/0.9885, allocations: 0.6472 MB / 0.9089 GB, free: 211.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/0.9892, allocations: 0.5207 MB / 0.9094 GB, free: 211.2 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.9892, allocations: 0 / 0.9094 GB, free: 211.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/1.055, allocations: 31.1 MB / 0.9398 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.45, allocations: 6.188 kB / 0.9398 GB, free: 183.5 MB / 0.6856 GB " [Timeout remaining time 647] (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) [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: 15.66648083000473]