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.00164/0.00164, 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.001813/0.001813, allocations: 211.7 kB / 22.25 MB, free: 5.086 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8 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 0.8185/0.8185, allocations: 100.3 MB / 412.7 MB, free: 3.695 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.002556/0.002556, allocations: 92.38 kB / 0.5633 GB, free: 35.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1408, allocations: 74.46 MB / 0.636 GB, free: 7.664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5714/0.7122, allocations: 215.8 MB / 0.8467 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.7357, allocations: 17.6 MB / 0.8639 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.7371, allocations: 74.25 kB / 0.8639 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.7392, allocations: 0.6164 MB / 0.8645 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.7445, allocations: 1.811 MB / 0.8663 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.7492, allocations: 1.695 MB / 0.8679 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00268/0.7519, allocations: 1.721 MB / 0.8696 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.7523, allocations: 200.9 kB / 0.8698 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.7551, allocations: 1.254 MB / 0.871 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.7562, allocations: 0.6411 MB / 0.8717 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.7564, allocations: 94.44 kB / 0.8718 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007019/0.7634, allocations: 3.56 MB / 0.8752 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.7637, allocations: 250.8 kB / 0.8755 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.7646, allocations: 0.6137 MB / 0.8761 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004456/0.769, allocations: 2.398 MB / 0.8784 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.769, allocations: 0 / 0.8784 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.484e-06/0.769, allocations: 0 / 0.8784 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001042/0.7691, allocations: 0 / 0.8784 GB, free: 9.898 MB / 0.6231 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.003958/0.7731, allocations: 1.826 MB / 0.8802 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 9.849e-05/0.7732, allocations: 12.03 kB / 0.8802 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.7734, allocations: 147.5 kB / 0.8804 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.7753, allocations: 298.8 kB / 0.8806 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.7771, allocations: 0.8381 MB / 0.8815 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.7774, allocations: 277.8 kB / 0.8817 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.7776, allocations: 92 kB / 0.8818 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.7794, allocations: 1.012 MB / 0.8828 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/0.7795, allocations: 0 / 0.8828 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.7797, allocations: 36 kB / 0.8828 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.7797, allocations: 20 kB / 0.8829 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.7814, allocations: 0.7939 MB / 0.8836 GB, free: 4.41 MB / 0.6231 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.005492/0.7869, allocations: 3.833 MB / 0.8874 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.7889, allocations: 0.816 MB / 0.8882 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/0.7898, allocations: 395.3 kB / 0.8885 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.7901, allocations: 112.5 kB / 0.8887 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7902, allocations: 39.22 kB / 0.8887 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.134e-06/0.7902, allocations: 4 kB / 0.8887 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005225/0.7954, allocations: 1.69 MB / 0.8903 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.7954, allocations: 64.06 kB / 0.8904 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009818/0.7964, allocations: 0.7956 MB / 0.8912 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.7966, allocations: 37.7 kB / 0.8912 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.7971, allocations: 0.5206 MB / 0.8917 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.7973, allocations: 289.5 kB / 0.892 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.7975, allocations: 154.6 kB / 0.8921 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7977, allocations: 333.9 kB / 0.8925 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.7985, allocations: 309.8 kB / 0.8928 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.7993, allocations: 387.1 kB / 0.8931 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.8007, allocations: 0.694 MB / 0.8938 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8007, allocations: 0 / 0.8938 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003197/0.8039, allocations: 1.233 MB / 0.895 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.804, allocations: 4.781 kB / 0.895 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.804, allocations: 7.938 kB / 0.895 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/0.8049, allocations: 250.4 kB / 0.8953 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.8059, allocations: 203.8 kB / 0.8955 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.8126, allocations: 4.926 MB / 0.9003 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008114/0.8134, allocations: 91.42 kB / 0.9004 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.8135, allocations: 47.98 kB / 0.9004 GB, free: 2.461 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.0004248/0.814, allocations: 229.7 kB / 0.9006 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.8142, allocations: 111.3 kB / 0.9007 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.8184, allocations: 1.818 MB / 0.9025 GB, free: 288 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.8184, allocations: 8 kB / 0.9025 GB, free: 280 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.8184, allocations: 4 kB / 0.9025 GB, free: 276 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.8184, allocations: 7.922 kB / 0.9025 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/0.8237, allocations: 2.407 MB / 0.9049 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8237, allocations: 0 / 0.9049 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/0.8247, allocations: 195.8 kB / 0.9051 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/0.8255, allocations: 254.6 kB / 0.9053 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.8256, allocations: 39.97 kB / 0.9053 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006397/0.832, allocations: 4.93 MB / 0.9102 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.832, allocations: 4.031 kB / 0.9102 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.8362, allocations: 1.729 MB / 0.9118 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.8366, allocations: 187 kB / 0.912 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.8367, allocations: 19.94 kB / 0.912 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.8373, allocations: 39.97 kB / 0.9121 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.8374, allocations: 76.86 kB / 0.9122 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.8375, allocations: 51.92 kB / 0.9122 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008199/0.8383, allocations: 0.5644 MB / 0.9128 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.8383, allocations: 0 / 0.9128 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001376/0.8397, allocations: 486.8 kB / 0.9132 GB, free: 4.82 MB / 0.6544 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.005186/0.8449, allocations: 2.726 MB / 0.9159 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.8476, allocations: 1.207 MB / 0.9171 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8476, allocations: 128 / 0.9171 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.8494, allocations: 0.8844 MB / 0.9179 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.8507, allocations: 277.9 kB / 0.9182 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.8669, allocations: 8.625 MB / 0.9266 GB, free: 6.797 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/0.8677, allocations: 1.084 MB / 0.9277 GB, free: 5.684 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00142/0.8691, allocations: 0.6294 MB / 0.9283 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/0.87, allocations: 0.5266 MB / 0.9288 GB, free: 4.527 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.87, allocations: 0 / 0.9288 GB, free: 4.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0881/0.9581, allocations: 31.63 MB / 0.9597 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.4, allocations: 10.12 kB / 0.9597 GB, free: 5.121 MB / 0.7012 GB " [Timeout remaining time 644] (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: 19.125365687999874]