Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001912/0.001912, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001816/0.001816, allocations: 213.4 kB / 22.24 MB, free: 5.262 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.482/1.482, 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 0.8576/0.8576, allocations: 94.62 MB / 407 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.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",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.002606/0.002606, allocations: 92.25 kB / 0.5549 GB, free: 38.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2389, allocations: 73.04 MB / 0.6263 GB, free: 192 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.03111/0.27, allocations: 16.14 MB / 0.642 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.2813, allocations: 6.222 MB / 0.6481 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2823, allocations: 31.69 kB / 0.6481 GB, free: 9.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.2836, allocations: 246.2 kB / 0.6484 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.286, allocations: 0.5551 MB / 0.6489 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2874, allocations: 358.8 kB / 0.6493 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.2889, allocations: 0.8126 MB / 0.6501 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.2892, allocations: 94.09 kB / 0.6501 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/0.29, allocations: 370.4 kB / 0.6505 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.2904, allocations: 274.4 kB / 0.6508 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.2905, allocations: 40 kB / 0.6508 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.2917, allocations: 331.7 kB / 0.6511 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.2919, allocations: 107.5 kB / 0.6512 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.2922, allocations: 242.7 kB / 0.6514 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.2938, allocations: 0.8403 MB / 0.6523 GB, free: 5.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2938, allocations: 0 / 0.6523 GB, free: 5.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2938, allocations: 0 / 0.6523 GB, free: 5.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2938, allocations: 0 / 0.6523 GB, free: 5.453 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002312/0.2961, allocations: 0.9169 MB / 0.6532 GB, free: 4.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.913e-05/0.2962, allocations: 12.03 kB / 0.6532 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.2963, allocations: 74.72 kB / 0.6532 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2966, allocations: 84.45 kB / 0.6533 GB, free: 4.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2978, allocations: 465.8 kB / 0.6538 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.2978, allocations: 29 kB / 0.6538 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.2979, allocations: 44 kB / 0.6538 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.2989, allocations: 463.8 kB / 0.6543 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.2989, allocations: 0 / 0.6543 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.299, allocations: 16 kB / 0.6543 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.299, allocations: 15.94 kB / 0.6543 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.2998, allocations: 407.7 kB / 0.6547 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.3027, allocations: 1.488 MB / 0.6562 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.3035, allocations: 373.4 kB / 0.6565 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.304, allocations: 165.6 kB / 0.6567 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.3052, allocations: 0.6126 MB / 0.6573 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3052, allocations: 34.89 kB / 0.6573 GB, free: 100 kB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.3052, allocations: 0 / 0.6573 GB, free: 100 kB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006088/0.3113, allocations: 1.309 MB / 0.6586 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.3114, allocations: 85.05 kB / 0.6587 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.3121, allocations: 483 kB / 0.6591 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3122, allocations: 29.7 kB / 0.6592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.3125, allocations: 296.7 kB / 0.6594 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.3127, allocations: 146.6 kB / 0.6596 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3128, allocations: 82.08 kB / 0.6597 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002438/0.3131, allocations: 370.8 kB / 0.66 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.3133, allocations: 120.8 kB / 0.6601 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.3137, allocations: 206.1 kB / 0.6603 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.3143, allocations: 337.9 kB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3143, allocations: 0 / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002887/0.3172, allocations: 0.7951 MB / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.3172, allocations: 8 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3172, allocations: 4.031 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/0.32, allocations: 497.2 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3203, allocations: 63.91 kB / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.323, allocations: 2.094 MB / 0.664 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.3234, allocations: 35.67 kB / 0.664 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.3234, allocations: 16 kB / 0.6641 GB, free: 8.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.3238, allocations: 173.7 kB / 0.6642 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3239, allocations: 55.62 kB / 0.6643 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.3271, allocations: 0.8577 MB / 0.6651 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3271, allocations: 7.938 kB / 0.6651 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3271, allocations: 0 / 0.6651 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3271, allocations: 3.984 kB / 0.6651 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.3309, allocations: 1.277 MB / 0.6664 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.3309, allocations: 3.984 kB / 0.6664 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.3311, allocations: 43.98 kB / 0.6664 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/0.3338, allocations: 0.4895 MB / 0.6669 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.3338, allocations: 12 kB / 0.6669 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.3365, allocations: 2.094 MB / 0.669 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3365, allocations: 0 / 0.669 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.3398, allocations: 1.095 MB / 0.67 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3401, allocations: 99.42 kB / 0.6701 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.3401, allocations: 8 kB / 0.6701 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.3404, allocations: 8 kB / 0.6701 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.3405, allocations: 31.94 kB / 0.6702 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3405, allocations: 12 kB / 0.6702 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005658/0.3411, allocations: 358.8 kB / 0.6705 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 0.6705 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008112/0.3419, allocations: 179.6 kB / 0.6707 GB, free: 1.855 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004227/0.3461, allocations: 1.807 MB / 0.6725 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.3473, allocations: 462.2 kB / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3474, allocations: 0 / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.348, allocations: 299 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.349, allocations: 158.9 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.3614, allocations: 5.174 MB / 0.6784 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.3618, allocations: 271.5 kB / 0.6786 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004277/0.3623, allocations: 77.41 kB / 0.6787 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/0.3627, allocations: 211.4 kB / 0.6789 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of SimCode: time 2.405e-06/0.3627, allocations: 7.938 kB / 0.6789 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.4311, allocations: 16.86 MB / 0.6954 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/16.77, allocations: 4.594 kB / 0.6954 GB, free: 8.605 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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: 20.708067214116454]