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.001047/0.001047, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007179/0.007179, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.142/1.142, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.547/0.547, allocations: 89.65 MB / 381.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 10.59 kB / 460.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.09987, allocations: 68.83 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01942/0.1193, allocations: 22.27 MB / 0.5389 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008409/0.1278, allocations: 9.294 MB / 0.548 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.1281, allocations: 11.94 kB / 0.548 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.1288, allocations: 354.1 kB / 0.5483 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.13, allocations: 0.6835 MB / 0.549 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.1308, allocations: 422.7 kB / 0.5494 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009458/0.1317, allocations: 1.171 MB / 0.5505 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.132, allocations: 198 kB / 0.5507 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.1324, allocations: 366.3 kB / 0.5511 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.1328, allocations: 382.1 kB / 0.5514 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.1329, allocations: 28 kB / 0.5515 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.1337, allocations: 479.5 kB / 0.5519 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.1338, allocations: 115.3 kB / 0.552 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.1341, allocations: 395.6 kB / 0.5524 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1351, allocations: 1.039 MB / 0.5534 GB, free: 5.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1351, allocations: 0 / 0.5534 GB, free: 5.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1351, allocations: 4 kB / 0.5534 GB, free: 5.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1351, allocations: 0 / 0.5534 GB, free: 5.992 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.001498/0.1366, allocations: 1.013 MB / 0.5544 GB, free: 4.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1367, allocations: 8.031 kB / 0.5544 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1368, allocations: 106.7 kB / 0.5545 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.137, allocations: 95.91 kB / 0.5546 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.1375, allocations: 473.4 kB / 0.5551 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.1375, allocations: 45.69 kB / 0.5551 GB, free: 4.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.1376, allocations: 64.38 kB / 0.5552 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.1386, allocations: 0.673 MB / 0.5558 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1386, allocations: 4 kB / 0.5558 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.1386, allocations: 24 kB / 0.5559 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1387, allocations: 23.88 kB / 0.5559 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.1396, allocations: 0.6258 MB / 0.5565 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.1426, allocations: 2.987 MB / 0.5594 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.1435, allocations: 0.6694 MB / 0.5601 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.1439, allocations: 291.9 kB / 0.5603 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.1457, allocations: 1.905 MB / 0.5622 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1457, allocations: 43.06 kB / 0.5622 GB, free: 12.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.784e-06/0.1457, allocations: 0 / 0.5622 GB, free: 12.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.009141/0.1549, allocations: 2.424 MB / 0.5646 GB, free: 9.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1549, allocations: 85.67 kB / 0.5647 GB, free: 9.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.1554, allocations: 471 kB / 0.5651 GB, free: 9.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1554, allocations: 45.64 kB / 0.5652 GB, free: 9.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1556, allocations: 332.3 kB / 0.5655 GB, free: 8.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.1558, allocations: 224.7 kB / 0.5657 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.1559, allocations: 57.69 kB / 0.5658 GB, free: 8.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.156, allocations: 374.7 kB / 0.5661 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.1563, allocations: 209.2 kB / 0.5663 GB, free: 8.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.1567, allocations: 302.8 kB / 0.5666 GB, free: 7.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.1575, allocations: 0.5276 MB / 0.5671 GB, free: 7.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1575, allocations: 4 kB / 0.5671 GB, free: 7.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004648/0.1621, allocations: 1.361 MB / 0.5685 GB, free: 5.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1621, allocations: 8 kB / 0.5685 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1622, allocations: 0 / 0.5685 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004699/0.1669, allocations: 0.9352 MB / 0.5694 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.1672, allocations: 103.9 kB / 0.5695 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.1693, allocations: 2.834 MB / 0.5723 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1697, allocations: 67.58 kB / 0.5723 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.1697, allocations: 31.94 kB / 0.5724 GB, free: 1.582 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.000227/0.17, allocations: 193.6 kB / 0.5725 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.1701, allocations: 63.16 kB / 0.5726 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/0.175, allocations: 1.48 MB / 0.574 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.175, allocations: 8 kB / 0.5741 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.175, allocations: 0 / 0.5741 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.175, allocations: 3.984 kB / 0.5741 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.1806, allocations: 2.101 MB / 0.5761 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1806, allocations: 64 / 0.5761 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1809, allocations: 79.91 kB / 0.5762 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004705/0.1856, allocations: 0.9312 MB / 0.5771 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.1856, allocations: 23.98 kB / 0.5771 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.1877, allocations: 2.838 MB / 0.5799 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1877, allocations: 0 / 0.5799 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.1926, allocations: 1.744 MB / 0.5816 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.1928, allocations: 208 kB / 0.5818 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.1929, allocations: 12 kB / 0.5818 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.1933, allocations: 31.98 kB / 0.5818 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.1934, allocations: 44.5 kB / 0.5819 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.1934, allocations: 23.88 kB / 0.5819 GB, free: 7.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.1938, allocations: 346.8 kB / 0.5822 GB, free: 7.129 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1938, allocations: 0 / 0.5822 GB, free: 7.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007392/0.1945, allocations: 295.4 kB / 0.5825 GB, free: 6.84 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.005486/0.2, allocations: 2.585 MB / 0.585 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.2011, allocations: 0.6903 MB / 0.5857 GB, free: 3.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2011, allocations: 0 / 0.5857 GB, free: 3.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.2018, allocations: 450.1 kB / 0.5861 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2029, allocations: 195.2 kB / 0.5863 GB, free: 2.871 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.184/0.3869, allocations: 7.287 MB / 0.5934 GB, free: 71.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3873, allocations: 0.9137 MB / 0.5943 GB, free: 70.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.3876, allocations: 96.98 kB / 0.5944 GB, free: 70.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.3879, allocations: 258.2 kB / 0.5947 GB, free: 70.69 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3879, allocations: 0 / 0.5947 GB, free: 70.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.252/6.64, allocations: 21.01 MB / 0.6152 GB, free: 63.5 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/6.64, allocations: 248.4 kB / 0.6154 GB, free: 63.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.858/10.5, allocations: 0 / 0.6154 GB, free: 63.25 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