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.001746/0.001746, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002422/0.002422, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.741/1.741, allocations: 230.6 MB / 256 MB, free: 7.801 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 1.054/1.054, allocations: 94.63 MB / 407.1 MB, free: 8.914 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.002646/0.002646, allocations: 91.97 kB / 0.5549 GB, free: 38.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2501, allocations: 73.05 MB / 0.6263 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.9441/1.194, allocations: 187.2 MB / 0.8091 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02297/1.217, allocations: 15.84 MB / 0.8246 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/1.22, allocations: 72.25 kB / 0.8246 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/1.222, allocations: 0.5479 MB / 0.8252 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00752/1.229, allocations: 1.79 MB / 0.8269 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006689/1.236, allocations: 1.682 MB / 0.8286 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003769/1.24, allocations: 1.728 MB / 0.8303 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/1.241, allocations: 178.7 kB / 0.8304 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/1.245, allocations: 1.263 MB / 0.8317 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/1.247, allocations: 0.5809 MB / 0.8322 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003827/1.247, allocations: 92.44 kB / 0.8323 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009243/1.256, allocations: 3.33 MB / 0.8356 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/1.257, allocations: 255.3 kB / 0.8358 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009888/1.258, allocations: 0.4976 MB / 0.8363 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006088/1.264, allocations: 2.377 MB / 0.8386 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.264, allocations: 2.719 kB / 0.8386 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.427e-06/1.264, allocations: 0 / 0.8386 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.626e-05/1.264, allocations: 0 / 0.8386 GB, free: 8.988 MB / 0.5919 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.004278/1.268, allocations: 1.822 MB / 0.8404 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/1.268, allocations: 12.61 kB / 0.8404 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/1.268, allocations: 142.4 kB / 0.8406 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/1.27, allocations: 301.2 kB / 0.8408 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/1.272, allocations: 0.8414 MB / 0.8417 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/1.273, allocations: 276.8 kB / 0.8419 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.273, allocations: 89.66 kB / 0.842 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/1.275, allocations: 1.012 MB / 0.843 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/1.275, allocations: 0 / 0.843 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/1.275, allocations: 38.53 kB / 0.843 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.275, allocations: 21.31 kB / 0.8431 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/1.277, allocations: 0.7783 MB / 0.8438 GB, free: 5.477 MB / 0.5919 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.005537/1.282, allocations: 2.751 MB / 0.8465 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.284, allocations: 0.8056 MB / 0.8473 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/1.285, allocations: 403.8 kB / 0.8477 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/1.286, allocations: 105.8 kB / 0.8478 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/1.286, allocations: 43 kB / 0.8478 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.386e-06/1.286, allocations: 3.938 kB / 0.8478 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005449/1.291, allocations: 1.694 MB / 0.8495 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/1.291, allocations: 61.06 kB / 0.8495 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.293, allocations: 0.7978 MB / 0.8503 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/1.293, allocations: 40.55 kB / 0.8504 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000628/1.293, allocations: 0.5307 MB / 0.8509 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/1.294, allocations: 288.9 kB / 0.8511 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/1.294, allocations: 156.8 kB / 0.8513 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002468/1.294, allocations: 336.8 kB / 0.8516 GB, free: 228 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008395/1.295, allocations: 309.1 kB / 0.8519 GB, free: 84 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/1.296, allocations: 388.5 kB / 0.8523 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.298, allocations: 0.6881 MB / 0.853 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.298, allocations: 0 / 0.853 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003322/1.301, allocations: 1.242 MB / 0.8542 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.301, allocations: 6.625 kB / 0.8542 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.301, allocations: 4 kB / 0.8542 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.302, allocations: 242.4 kB / 0.8544 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009682/1.303, allocations: 203.5 kB / 0.8546 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/1.31, allocations: 4.896 MB / 0.8594 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/1.311, allocations: 83.48 kB / 0.8595 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.311, allocations: 51.98 kB / 0.8595 GB, free: 8.324 MB / 0.6075 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.0004937/1.312, allocations: 227.3 kB / 0.8597 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.312, allocations: 119.2 kB / 0.8598 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/1.316, allocations: 1.827 MB / 0.8616 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.316, allocations: 8 kB / 0.8616 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.316, allocations: 4 kB / 0.8616 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.316, allocations: 11.91 kB / 0.8616 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/1.322, allocations: 2.277 MB / 0.8639 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.322, allocations: 0.5 kB / 0.8639 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/1.323, allocations: 199.7 kB / 0.8641 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007991/1.323, allocations: 251.4 kB / 0.8643 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/1.324, allocations: 34.42 kB / 0.8643 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/1.331, allocations: 4.892 MB / 0.8691 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.331, allocations: 6.562 kB / 0.8691 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/1.335, allocations: 1.731 MB / 0.8708 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/1.336, allocations: 187 kB / 0.871 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.336, allocations: 23.95 kB / 0.871 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/1.336, allocations: 43.97 kB / 0.8711 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.337, allocations: 72.86 kB / 0.8711 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.337, allocations: 54.45 kB / 0.8712 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009325/1.338, allocations: 0.5527 MB / 0.8717 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/1.338, allocations: 0 / 0.8717 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001926/1.34, allocations: 486.8 kB / 0.8722 GB, free: 10.94 MB / 0.6231 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.006178/1.346, allocations: 2.739 MB / 0.8749 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003332/1.349, allocations: 1.204 MB / 0.876 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.349, allocations: 0 / 0.876 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.351, allocations: 0.8827 MB / 0.8769 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.353, allocations: 263.4 kB / 0.8771 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/1.373, allocations: 8.632 MB / 0.8856 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008482/1.374, allocations: 495.2 kB / 0.886 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001677/1.375, allocations: 0.6411 MB / 0.8867 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.377, allocations: 0.5226 MB / 0.8872 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of SimCode: time 2.305e-06/1.377, allocations: 0 / 0.8872 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.483, allocations: 32.92 MB / 0.9193 GB, free: 10.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.71, allocations: 11.62 kB / 0.9193 GB, free: 10.8 MB / 0.67 GB " [Timeout remaining time 643] (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: 21.51522341184318]