Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.001969/0.001969, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002708/0.002708, allocations: 213.5 kB / 22.25 MB, free: 5.242 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.943/1.943, allocations: 230.6 MB / 256 MB, free: 7.793 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.177/1.177, allocations: 94.62 MB / 407.1 MB, free: 8.852 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",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.003056/0.003056, allocations: 88.55 kB / 0.5549 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2519, allocations: 73.05 MB / 0.6263 GB, free: 176 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 1.084/1.336, allocations: 176 MB / 0.7981 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02307/1.359, allocations: 13.51 MB / 0.8113 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/1.362, allocations: 63.28 kB / 0.8114 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/1.364, allocations: 463.6 kB / 0.8118 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007607/1.372, allocations: 1.374 MB / 0.8132 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006363/1.378, allocations: 1.4 MB / 0.8145 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003721/1.382, allocations: 1.39 MB / 0.8159 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/1.383, allocations: 166 kB / 0.816 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/1.387, allocations: 1.139 MB / 0.8171 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/1.387, allocations: 465.9 kB / 0.8176 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/1.388, allocations: 79 kB / 0.8177 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/1.394, allocations: 2.45 MB / 0.8201 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/1.394, allocations: 200 kB / 0.8202 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006823/1.395, allocations: 426.4 kB / 0.8207 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/1.4, allocations: 1.887 MB / 0.8225 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.4, allocations: 4.719 kB / 0.8225 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.785e-06/1.4, allocations: 0.9062 kB / 0.8225 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.4, allocations: 0 / 0.8225 GB, free: 0.7539 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003664/1.404, allocations: 1.516 MB / 0.824 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/1.404, allocations: 11.59 kB / 0.824 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/1.404, allocations: 117.9 kB / 0.8241 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/1.406, allocations: 252 kB / 0.8243 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/1.408, allocations: 0.7114 MB / 0.825 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/1.409, allocations: 258.4 kB / 0.8253 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/1.409, allocations: 76.33 kB / 0.8254 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.411, allocations: 0.8188 MB / 0.8262 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.411, allocations: 2.688 kB / 0.8262 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/1.411, allocations: 30.47 kB / 0.8262 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/1.411, allocations: 17.02 kB / 0.8262 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.412, allocations: 0.6396 MB / 0.8268 GB, free: 14.42 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.004911/1.417, allocations: 2.041 MB / 0.8288 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.419, allocations: 0.5488 MB / 0.8294 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008357/1.42, allocations: 315.7 kB / 0.8297 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/1.42, allocations: 76.14 kB / 0.8297 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/1.42, allocations: 38.34 kB / 0.8298 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/1.42, allocations: 4.609 kB / 0.8298 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.005057/1.425, allocations: 1.442 MB / 0.8312 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/1.425, allocations: 57.25 kB / 0.8312 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.426, allocations: 0.6658 MB / 0.8319 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/1.426, allocations: 36.39 kB / 0.8319 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/1.427, allocations: 434.3 kB / 0.8323 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/1.427, allocations: 219.5 kB / 0.8325 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/1.427, allocations: 112.7 kB / 0.8327 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.427, allocations: 320.5 kB / 0.833 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/1.428, allocations: 264.7 kB / 0.8332 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/1.429, allocations: 304.5 kB / 0.8335 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/1.43, allocations: 0.5446 MB / 0.834 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.43, allocations: 0 / 0.834 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003183/1.433, allocations: 1.021 MB / 0.835 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/1.433, allocations: 5.812 kB / 0.835 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.433, allocations: 3.188 kB / 0.835 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/1.434, allocations: 232.6 kB / 0.8353 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/1.435, allocations: 141.3 kB / 0.8354 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007564/1.443, allocations: 4.773 MB / 0.8401 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/1.444, allocations: 76.3 kB / 0.8401 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.444, allocations: 36.11 kB / 0.8402 GB, free: 5.246 MB / 0.5919 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 (57): * Single equations (assignments): 54 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005697/1.444, allocations: 200.7 kB / 0.8404 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/1.445, allocations: 90.61 kB / 0.8404 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/1.449, allocations: 1.389 MB / 0.8418 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.449, allocations: 10.34 kB / 0.8418 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.449, allocations: 2.625 kB / 0.8418 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.449, allocations: 0 / 0.8418 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/1.454, allocations: 1.86 MB / 0.8436 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.454, allocations: 0 / 0.8436 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/1.454, allocations: 140.1 kB / 0.8438 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008441/1.455, allocations: 229.5 kB / 0.844 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/1.455, allocations: 23.36 kB / 0.844 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007634/1.463, allocations: 4.764 MB / 0.8487 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.463, allocations: 7.094 kB / 0.8487 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/1.468, allocations: 1.396 MB / 0.85 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/1.468, allocations: 134.7 kB / 0.8502 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/1.469, allocations: 20.41 kB / 0.8502 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/1.47, allocations: 35.5 kB / 0.8502 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/1.47, allocations: 53.69 kB / 0.8503 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.47, allocations: 32.11 kB / 0.8503 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001284/1.471, allocations: 485 kB / 0.8508 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.471, allocations: 0 / 0.8508 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00292/1.474, allocations: 363.4 kB / 0.8511 GB, free: 13.21 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (51): * Single equations (assignments): 48 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006245/1.48, allocations: 2.285 MB / 0.8533 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.484, allocations: 1.019 MB / 0.8543 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/1.484, allocations: 8 kB / 0.8543 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.486, allocations: 0.7761 MB / 0.8551 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.488, allocations: 208.9 kB / 0.8553 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/1.507, allocations: 7.087 MB / 0.8622 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008559/1.508, allocations: 407.9 kB / 0.8626 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001412/1.509, allocations: 442.3 kB / 0.863 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/1.51, allocations: 407.2 kB / 0.8634 GB, free: 448 kB / 0.6075 GB Notification: Performance of SimCode: time 3.226e-06/1.51, allocations: 0 / 0.8634 GB, free: 448 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.635, allocations: 26.33 MB / 0.8891 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/16.27, allocations: 11.33 kB / 0.8891 GB, free: 6.465 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.486617483198643]