Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.001755/0.001755, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002211/0.002211, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7482/0.7482, allocations: 93.71 MB / 383.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 84.59 kB / 463 MB, free: 22.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 68.26 MB / 0.5188 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03046/0.1683, allocations: 23.29 MB / 0.5416 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1803, allocations: 9.489 MB / 0.5508 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.1813, allocations: 39.75 kB / 0.5509 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1823, allocations: 358 kB / 0.5512 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.185, allocations: 0.7185 MB / 0.5519 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1861, allocations: 438.6 kB / 0.5523 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1875, allocations: 1.155 MB / 0.5534 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.1879, allocations: 239.5 kB / 0.5537 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.1886, allocations: 477.9 kB / 0.5541 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005308/0.1892, allocations: 441.7 kB / 0.5546 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.1893, allocations: 60 kB / 0.5546 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1905, allocations: 0.5074 MB / 0.5551 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1907, allocations: 167.2 kB / 0.5553 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.1911, allocations: 437.5 kB / 0.5557 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.1927, allocations: 1.168 MB / 0.5568 GB, free: 180 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1927, allocations: 0 / 0.5568 GB, free: 180 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1927, allocations: 0 / 0.5568 GB, free: 180 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1927, allocations: 4 kB / 0.5568 GB, free: 176 kB / 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.002103/0.1948, allocations: 1.25 MB / 0.558 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1949, allocations: 8.031 kB / 0.5581 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.195, allocations: 110.7 kB / 0.5582 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.1953, allocations: 111.6 kB / 0.5583 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.1962, allocations: 0.6084 MB / 0.5589 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.1962, allocations: 49.31 kB / 0.5589 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.1963, allocations: 67.92 kB / 0.559 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1974, allocations: 0.6652 MB / 0.5596 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.1975, allocations: 8 kB / 0.5596 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.1975, allocations: 24 kB / 0.5597 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.1975, allocations: 16 kB / 0.5597 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1985, allocations: 0.6219 MB / 0.5603 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.2024, allocations: 3.015 MB / 0.5632 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2035, allocations: 0.6734 MB / 0.5639 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.204, allocations: 283.2 kB / 0.5641 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.2062, allocations: 1.908 MB / 0.566 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.2062, allocations: 43.12 kB / 0.5661 GB, free: 6.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.493e-06/0.2062, allocations: 0 / 0.5661 GB, free: 6.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01029/0.2165, allocations: 2.431 MB / 0.5684 GB, free: 3.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.2166, allocations: 93.55 kB / 0.5685 GB, free: 3.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/0.2173, allocations: 0.5866 MB / 0.5691 GB, free: 2.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.2173, allocations: 37.7 kB / 0.5691 GB, free: 2.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.2177, allocations: 388.2 kB / 0.5695 GB, free: 2.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.2178, allocations: 224.7 kB / 0.5697 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.218, allocations: 114.3 kB / 0.5698 GB, free: 2.102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2182, allocations: 334 kB / 0.5701 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.2186, allocations: 205.2 kB / 0.5703 GB, free: 1.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.219, allocations: 298.8 kB / 0.5706 GB, free: 1.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/0.2199, allocations: 0.5315 MB / 0.5711 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2199, allocations: 3.938 kB / 0.5711 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005128/0.2251, allocations: 1.388 MB / 0.5725 GB, free: 15.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2251, allocations: 4 kB / 0.5725 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2251, allocations: 4 kB / 0.5725 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004918/0.23, allocations: 0.9275 MB / 0.5734 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2304, allocations: 95.89 kB / 0.5735 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.2331, allocations: 2.952 MB / 0.5764 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.2335, allocations: 67.48 kB / 0.5764 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.2336, allocations: 24 kB / 0.5765 GB, free: 11.01 MB / 462.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.0002781/0.2338, allocations: 208.2 kB / 0.5767 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.234, allocations: 75.06 kB / 0.5767 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/0.2393, allocations: 1.495 MB / 0.5782 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2393, allocations: 11.92 kB / 0.5782 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2394, allocations: 4 kB / 0.5782 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2394, allocations: 4 kB / 0.5782 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005992/0.2454, allocations: 2.132 MB / 0.5803 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2454, allocations: 0 / 0.5803 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.2457, allocations: 75.89 kB / 0.5804 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/0.2506, allocations: 0.939 MB / 0.5813 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.2506, allocations: 19.98 kB / 0.5813 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.2533, allocations: 2.952 MB / 0.5842 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2533, allocations: 0 / 0.5842 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/0.2588, allocations: 1.767 MB / 0.5859 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.2591, allocations: 208 kB / 0.5861 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.2592, allocations: 19.84 kB / 0.5861 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.2596, allocations: 31.98 kB / 0.5862 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.2597, allocations: 40.5 kB / 0.5862 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.2598, allocations: 16 kB / 0.5862 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005543/0.2604, allocations: 435 kB / 0.5866 GB, free: 264 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2604, allocations: 0 / 0.5866 GB, free: 264 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.2181/0.4785, allocations: 291.4 kB / 0.5869 GB, free: 69.48 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.006733/0.4853, allocations: 2.592 MB / 0.5894 GB, free: 68.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.487, allocations: 0.7157 MB / 0.5901 GB, free: 68.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.487, allocations: 0 / 0.5901 GB, free: 68.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000773/0.4878, allocations: 442.2 kB / 0.5906 GB, free: 68.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.4892, allocations: 225.7 kB / 0.5908 GB, free: 68.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.5057, allocations: 7.824 MB / 0.5984 GB, free: 64.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.506, allocations: 0.9445 MB / 0.5993 GB, free: 63.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.5064, allocations: 116.2 kB / 0.5995 GB, free: 63.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.5067, allocations: 311.6 kB / 0.5998 GB, free: 63.48 MB / 462.1 MB Notification: Performance of SimCode: time 5.72e-07/0.5067, allocations: 0 / 0.5998 GB, free: 63.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/0.5511, allocations: 23.39 MB / 0.6226 GB, free: 54.3 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.5513, allocations: 252.5 kB / 0.6228 GB, free: 54.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.217, allocations: 0 / 0.6228 GB, free: 54.04 MB / 462.1 MB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches