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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8082/0.8082, allocations: 91.2 MB / 381.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 82.03 kB / 460.4 MB, free: 23.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1808, allocations: 67.69 MB / 0.5157 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02449/0.2054, allocations: 17.33 MB / 0.5327 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009687/0.2151, allocations: 6.77 MB / 0.5393 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.216, allocations: 19.88 kB / 0.5393 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2173, allocations: 286.1 kB / 0.5396 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.2195, allocations: 0.52 MB / 0.5401 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2206, allocations: 366.6 kB / 0.5404 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.2219, allocations: 0.7815 MB / 0.5412 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.2222, allocations: 145.7 kB / 0.5413 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007332/0.223, allocations: 346.4 kB / 0.5416 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.2235, allocations: 286.5 kB / 0.5419 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.2236, allocations: 43.94 kB / 0.542 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.2247, allocations: 363.6 kB / 0.5423 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.2248, allocations: 107.5 kB / 0.5424 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.2251, allocations: 302.2 kB / 0.5427 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2267, allocations: 0.8061 MB / 0.5435 GB, free: 13.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2267, allocations: 0 / 0.5435 GB, free: 13.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2267, allocations: 0 / 0.5435 GB, free: 13.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2267, allocations: 0 / 0.5435 GB, free: 13.58 MB / 430.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.001734/0.2285, allocations: 0.9502 MB / 0.5444 GB, free: 12.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.2285, allocations: 12.03 kB / 0.5444 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.823e-05/0.2286, allocations: 78.72 kB / 0.5445 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.2289, allocations: 79.98 kB / 0.5446 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.2296, allocations: 483.3 kB / 0.545 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.2297, allocations: 33 kB / 0.5451 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.2298, allocations: 40 kB / 0.5451 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/0.2307, allocations: 463.8 kB / 0.5456 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2308, allocations: 0 / 0.5456 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.2308, allocations: 19.98 kB / 0.5456 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.2308, allocations: 12 kB / 0.5456 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.2316, allocations: 407.7 kB / 0.546 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.2347, allocations: 2.076 MB / 0.548 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009118/0.2356, allocations: 409.2 kB / 0.5484 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.2359, allocations: 183.8 kB / 0.5486 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/0.2378, allocations: 1.408 MB / 0.5499 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2378, allocations: 38.89 kB / 0.55 GB, free: 6.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 3.566e-06/0.2378, allocations: 3.984 kB / 0.55 GB, free: 6.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006443/0.2443, allocations: 1.459 MB / 0.5514 GB, free: 4.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.2444, allocations: 81.11 kB / 0.5515 GB, free: 4.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.2451, allocations: 474.9 kB / 0.5519 GB, free: 4.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2451, allocations: 29.7 kB / 0.552 GB, free: 4.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.2454, allocations: 284.4 kB / 0.5522 GB, free: 4.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2455, allocations: 145.9 kB / 0.5524 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.2458, allocations: 70.14 kB / 0.5524 GB, free: 3.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.246, allocations: 366.8 kB / 0.5528 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.2463, allocations: 124.8 kB / 0.5529 GB, free: 3.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.2466, allocations: 185.8 kB / 0.5531 GB, free: 3.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.2472, allocations: 335 kB / 0.5534 GB, free: 2.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2472, allocations: 0 / 0.5534 GB, free: 2.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003147/0.2504, allocations: 0.7949 MB / 0.5542 GB, free: 1.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2504, allocations: 8 kB / 0.5542 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2504, allocations: 0 / 0.5542 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.2533, allocations: 497.2 kB / 0.5547 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.2536, allocations: 63.91 kB / 0.5547 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.256, allocations: 2.2 MB / 0.5569 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.2564, allocations: 35.56 kB / 0.5569 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.2565, allocations: 16 kB / 0.5569 GB, free: 14.98 MB / 446.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.0003214/0.2568, allocations: 171.3 kB / 0.5571 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.257, allocations: 55.41 kB / 0.5571 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.2603, allocations: 0.865 MB / 0.558 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2603, allocations: 8 kB / 0.558 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2603, allocations: 8 kB / 0.558 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.2603, allocations: 144 / 0.558 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.2644, allocations: 1.375 MB / 0.5593 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.2644, allocations: 0 / 0.5593 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.2646, allocations: 51.92 kB / 0.5594 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/0.2675, allocations: 493.3 kB / 0.5599 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.2676, allocations: 16 kB / 0.5599 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.2696, allocations: 2.189 MB / 0.562 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2696, allocations: 3.938 kB / 0.562 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.273, allocations: 1.094 MB / 0.5631 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.2733, allocations: 172.2 kB / 0.5632 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.2733, allocations: 8 kB / 0.5633 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.2736, allocations: 8 kB / 0.5633 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.2737, allocations: 40.02 kB / 0.5633 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.2738, allocations: 11.94 kB / 0.5633 GB, free: 8.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000441/0.2742, allocations: 342.8 kB / 0.5636 GB, free: 7.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2742, allocations: 0 / 0.5636 GB, free: 7.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.2749, allocations: 195.7 kB / 0.5638 GB, free: 7.598 MB / 446.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.003916/0.2788, allocations: 1.823 MB / 0.5656 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.28, allocations: 486.4 kB / 0.5661 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2801, allocations: 0 / 0.5661 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005539/0.2806, allocations: 318.7 kB / 0.5664 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.2818, allocations: 166.2 kB / 0.5665 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.2933, allocations: 5.242 MB / 0.5717 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.294, allocations: 0.8668 MB / 0.5725 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.2944, allocations: 79.36 kB / 0.5726 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.2947, allocations: 203.4 kB / 0.5728 GB, free: 14.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.2947, allocations: 0 / 0.5728 GB, free: 14.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3387/0.6334, allocations: 16.14 MB / 0.5885 GB, free: 71.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.54, allocations: 11.89 kB / 0.5885 GB, free: 71.78 MB / 462.1 MB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) 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) Reference file matches