Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 198 kB / 16.14 MB, free: 6.711 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.144/1.144, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5348/0.5348, allocations: 89.51 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 81.94 kB / 457.7 MB, free: 23.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09191, allocations: 67.32 MB / 0.5127 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01941/0.1114, allocations: 22.91 MB / 0.535 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008171/0.1196, allocations: 9.434 MB / 0.5442 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.1199, allocations: 11.94 kB / 0.5443 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.1206, allocations: 354.1 kB / 0.5446 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1218, allocations: 0.6835 MB / 0.5453 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.1225, allocations: 430.6 kB / 0.5457 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008728/0.1234, allocations: 1.171 MB / 0.5468 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1236, allocations: 206 kB / 0.547 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.1241, allocations: 378.4 kB / 0.5474 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1244, allocations: 402 kB / 0.5478 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.411e-05/0.1245, allocations: 40 kB / 0.5478 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008785/0.1254, allocations: 495.5 kB / 0.5483 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.1255, allocations: 135.3 kB / 0.5484 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.1258, allocations: 381.8 kB / 0.5488 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1268, allocations: 1.063 MB / 0.5498 GB, free: 6.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1268, allocations: 0 / 0.5498 GB, free: 6.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1269, allocations: 0 / 0.5498 GB, free: 6.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1269, allocations: 0 / 0.5498 GB, free: 6.691 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00165/0.1285, allocations: 1.134 MB / 0.5509 GB, free: 5.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1286, allocations: 15.97 kB / 0.5509 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.808e-05/0.1287, allocations: 106.7 kB / 0.551 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.1289, allocations: 95.8 kB / 0.5511 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.1294, allocations: 477.4 kB / 0.5516 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1294, allocations: 53.62 kB / 0.5516 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.1295, allocations: 64.38 kB / 0.5517 GB, free: 4.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.1305, allocations: 0.6691 MB / 0.5523 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1305, allocations: 4 kB / 0.5523 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.1305, allocations: 24 kB / 0.5524 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1306, allocations: 16 kB / 0.5524 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.1314, allocations: 0.6258 MB / 0.553 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1344, allocations: 2.98 MB / 0.5559 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.1354, allocations: 0.6655 MB / 0.5565 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.1358, allocations: 291.2 kB / 0.5568 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.1375, allocations: 1.897 MB / 0.5587 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1376, allocations: 39.06 kB / 0.5587 GB, free: 12.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.866e-06/0.1376, allocations: 4 kB / 0.5587 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009015/0.1466, allocations: 2.416 MB / 0.5611 GB, free: 10.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1466, allocations: 89.67 kB / 0.5612 GB, free: 10.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.1471, allocations: 467 kB / 0.5616 GB, free: 9.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1471, allocations: 37.7 kB / 0.5616 GB, free: 9.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1473, allocations: 340.2 kB / 0.562 GB, free: 9.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1475, allocations: 232.7 kB / 0.5622 GB, free: 9.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1476, allocations: 110.3 kB / 0.5623 GB, free: 9.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1478, allocations: 378.7 kB / 0.5627 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.1481, allocations: 205.2 kB / 0.5629 GB, free: 8.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.1485, allocations: 294.8 kB / 0.5631 GB, free: 8.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.1492, allocations: 0.5276 MB / 0.5636 GB, free: 7.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1493, allocations: 0 / 0.5636 GB, free: 7.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004554/0.1538, allocations: 1.369 MB / 0.565 GB, free: 6.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1538, allocations: 11.94 kB / 0.565 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1538, allocations: 4.062 kB / 0.565 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004635/0.1585, allocations: 0.9313 MB / 0.5659 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.1588, allocations: 103.8 kB / 0.566 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.1609, allocations: 2.838 MB / 0.5688 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1613, allocations: 67.45 kB / 0.5688 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.1613, allocations: 23.98 kB / 0.5689 GB, free: 2.133 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.1616, allocations: 193.8 kB / 0.5691 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1617, allocations: 59.25 kB / 0.5691 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/0.1665, allocations: 1.483 MB / 0.5706 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1665, allocations: 11.98 kB / 0.5706 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1665, allocations: 0 / 0.5706 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1665, allocations: 7.984 kB / 0.5706 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.1718, allocations: 2.093 MB / 0.5726 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1718, allocations: 4.062 kB / 0.5726 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1721, allocations: 79.89 kB / 0.5727 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004528/0.1767, allocations: 0.9312 MB / 0.5736 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.1767, allocations: 20.17 kB / 0.5736 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.1787, allocations: 2.83 MB / 0.5764 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1787, allocations: 0 / 0.5764 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/0.1836, allocations: 1.763 MB / 0.5781 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1838, allocations: 196.1 kB / 0.5783 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.1839, allocations: 19.94 kB / 0.5783 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.1842, allocations: 27.98 kB / 0.5783 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.1843, allocations: 44.44 kB / 0.5784 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.1844, allocations: 27.94 kB / 0.5784 GB, free: 8.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000342/0.1847, allocations: 342.8 kB / 0.5787 GB, free: 7.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1847, allocations: 0 / 0.5787 GB, free: 7.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006659/0.1854, allocations: 291.5 kB / 0.579 GB, free: 7.391 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005489/0.1909, allocations: 2.58 MB / 0.5815 GB, free: 4.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.192, allocations: 0.69 MB / 0.5822 GB, free: 4.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.192, allocations: 0 / 0.5822 GB, free: 4.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.1927, allocations: 442.4 kB / 0.5826 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.1937, allocations: 196.4 kB / 0.5828 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1684/0.3621, allocations: 7.196 MB / 0.5899 GB, free: 72.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3624, allocations: 0.9122 MB / 0.5907 GB, free: 72.26 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.3628, allocations: 93.81 kB / 0.5908 GB, free: 72.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.363, allocations: 256.6 kB / 0.5911 GB, free: 72.24 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.363, allocations: 2.406 kB / 0.5911 GB, free: 72.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.352/3.715, allocations: 21.22 MB / 0.6118 GB, free: 64.97 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/3.715, allocations: 243.8 kB / 0.612 GB, free: 64.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/6.01, allocations: 0 / 0.612 GB, free: 64.72 MB / 462.1 MB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches