Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001352/0.001352, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.001319/0.001319, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.528/1.528, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6552/0.6552, allocations: 94.61 MB / 397.3 MB, free: 480 kB / 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-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.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 83.86 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4826, allocations: 71.85 MB / 0.6118 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02187/0.5044, allocations: 17.47 MB / 0.6288 GB, free: 7.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.5146, allocations: 6.823 MB / 0.6355 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.5155, allocations: 25.44 kB / 0.6355 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.5166, allocations: 285.5 kB / 0.6358 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.5185, allocations: 0.5451 MB / 0.6363 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.5198, allocations: 362.1 kB / 0.6367 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.5211, allocations: 0.813 MB / 0.6375 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.5214, allocations: 97.77 kB / 0.6376 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008355/0.5223, allocations: 357.6 kB / 0.6379 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.5229, allocations: 304.9 kB / 0.6382 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.06e-05/0.5229, allocations: 43.97 kB / 0.6382 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.5243, allocations: 364.1 kB / 0.6386 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5245, allocations: 112.5 kB / 0.6387 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.5248, allocations: 291.3 kB / 0.639 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.5266, allocations: 0.8487 MB / 0.6398 GB, free: 408 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5266, allocations: 0 / 0.6398 GB, free: 408 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5266, allocations: 1 kB / 0.6398 GB, free: 408 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.5266, allocations: 0 / 0.6398 GB, free: 408 kB / 478.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.001903/0.5285, allocations: 0.9848 MB / 0.6408 GB, free: 15.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5285, allocations: 9.562 kB / 0.6408 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.866e-05/0.5286, allocations: 78.88 kB / 0.6408 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.5288, allocations: 97.53 kB / 0.6409 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.5301, allocations: 0.5215 MB / 0.6414 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.5301, allocations: 29.75 kB / 0.6415 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.5302, allocations: 41.83 kB / 0.6415 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.531, allocations: 461.2 kB / 0.6419 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.531, allocations: 0 / 0.6419 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.531, allocations: 20.28 kB / 0.642 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.5311, allocations: 9.5 kB / 0.642 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008245/0.5319, allocations: 410.7 kB / 0.6424 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.5348, allocations: 2.058 MB / 0.6444 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008863/0.5357, allocations: 376.3 kB / 0.6447 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.536, allocations: 169.5 kB / 0.6449 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/0.5379, allocations: 1.415 MB / 0.6463 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.538, allocations: 37.64 kB / 0.6463 GB, free: 10.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.538, allocations: 0 / 0.6463 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006427/0.5444, allocations: 1.458 MB / 0.6477 GB, free: 10.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.5445, allocations: 86.55 kB / 0.6478 GB, free: 9.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.5451, allocations: 474.5 kB / 0.6483 GB, free: 9.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.5452, allocations: 34.98 kB / 0.6483 GB, free: 9.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.5454, allocations: 291.1 kB / 0.6486 GB, free: 9.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.5455, allocations: 148 kB / 0.6487 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.5457, allocations: 75.2 kB / 0.6488 GB, free: 9.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.5459, allocations: 367 kB / 0.6491 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.5461, allocations: 128.7 kB / 0.6493 GB, free: 8.754 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.5464, allocations: 182.5 kB / 0.6494 GB, free: 8.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.5471, allocations: 331.6 kB / 0.6498 GB, free: 8.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5471, allocations: 1.094 kB / 0.6498 GB, free: 8.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002764/0.5498, allocations: 0.8014 MB / 0.6505 GB, free: 8.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5499, allocations: 6.031 kB / 0.6506 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.5499, allocations: 1.406 kB / 0.6506 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/0.5529, allocations: 490.6 kB / 0.651 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.5532, allocations: 65.16 kB / 0.6511 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.5559, allocations: 2.21 MB / 0.6532 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.5562, allocations: 44.55 kB / 0.6533 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.5563, allocations: 19.14 kB / 0.6533 GB, free: 5.648 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0004346/0.5567, allocations: 176.1 kB / 0.6535 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.5568, allocations: 54.66 kB / 0.6535 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.5599, allocations: 0.8526 MB / 0.6544 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.153e-05/0.56, allocations: 4.438 kB / 0.6544 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.56, allocations: 5.281 kB / 0.6544 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.56, allocations: 0 / 0.6544 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.5641, allocations: 1.366 MB / 0.6557 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5641, allocations: 1.25 kB / 0.6557 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5643, allocations: 53.59 kB / 0.6558 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.5669, allocations: 490.8 kB / 0.6562 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.5669, allocations: 16.11 kB / 0.6562 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.5692, allocations: 2.2 MB / 0.6584 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5692, allocations: 2.469 kB / 0.6584 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.5727, allocations: 1.099 MB / 0.6595 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.573, allocations: 172.5 kB / 0.6596 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.5731, allocations: 12.75 kB / 0.6596 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.5734, allocations: 11.11 kB / 0.6596 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.5735, allocations: 32.97 kB / 0.6597 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.5735, allocations: 20.64 kB / 0.6597 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005387/0.5741, allocations: 341.6 kB / 0.66 GB, free: 0.625 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5741, allocations: 0 / 0.66 GB, free: 0.625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008769/0.5749, allocations: 190.1 kB / 0.6602 GB, free: 0.5703 MB / 494.1 MB 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 (27): * Single equations (assignments): 25 * 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.004091/0.579, allocations: 1.829 MB / 0.662 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.5802, allocations: 448.3 kB / 0.6624 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5802, allocations: 1.406 kB / 0.6624 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.5809, allocations: 303.1 kB / 0.6627 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.582, allocations: 160.1 kB / 0.6629 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.594, allocations: 5.169 MB / 0.6679 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.5948, allocations: 0.8668 MB / 0.6688 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003505/0.5951, allocations: 80.41 kB / 0.6688 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.5954, allocations: 211.4 kB / 0.669 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of SimCode: time 1.764e-06/0.5954, allocations: 3.938 kB / 0.669 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.6558, allocations: 16.6 MB / 0.6852 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.84, allocations: 8.047 kB / 0.6853 GB, free: 9.145 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 18.381190148182213]