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.001568/0.001568, allocations: 108 kB / 15.6 MB, free: 132 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.001993/0.001993, allocations: 198.2 kB / 16.53 MB, free: 6.668 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8069/0.8069, allocations: 91.22 MB / 381.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 77.25 kB / 460.4 MB, free: 23.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 67.69 MB / 0.5157 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02309/0.1544, allocations: 22.84 MB / 0.538 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1651, allocations: 9.446 MB / 0.5473 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.166, allocations: 27.81 kB / 0.5473 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1671, allocations: 413.2 kB / 0.5477 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.1698, allocations: 0.7879 MB / 0.5484 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.171, allocations: 478.2 kB / 0.5489 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1727, allocations: 1.131 MB / 0.55 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.1731, allocations: 231.6 kB / 0.5502 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1743, allocations: 465.9 kB / 0.5507 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.175, allocations: 441.8 kB / 0.5511 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1752, allocations: 56 kB / 0.5511 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.1768, allocations: 0.5073 MB / 0.5516 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.1771, allocations: 163.2 kB / 0.5518 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.1776, allocations: 437.5 kB / 0.5522 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.1798, allocations: 1.16 MB / 0.5534 GB, free: 3.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1798, allocations: 4 kB / 0.5534 GB, free: 3.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1798, allocations: 0 / 0.5534 GB, free: 3.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.1799, allocations: 0 / 0.5534 GB, free: 3.371 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.002573/0.1825, allocations: 1.25 MB / 0.5546 GB, free: 2.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1825, allocations: 15.97 kB / 0.5546 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.1827, allocations: 110.7 kB / 0.5547 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.183, allocations: 103.7 kB / 0.5548 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009596/0.1839, allocations: 0.593 MB / 0.5554 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.184, allocations: 45.31 kB / 0.5554 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.1841, allocations: 63.91 kB / 0.5555 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1851, allocations: 0.673 MB / 0.5561 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1852, allocations: 7.984 kB / 0.5561 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.1852, allocations: 28 kB / 0.5562 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1853, allocations: 12 kB / 0.5562 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.1863, allocations: 0.622 MB / 0.5568 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.1903, allocations: 3.023 MB / 0.5597 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1914, allocations: 0.6676 MB / 0.5604 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.1919, allocations: 287.3 kB / 0.5607 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002436/0.1943, allocations: 1.905 MB / 0.5625 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.1944, allocations: 43.06 kB / 0.5626 GB, free: 9.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/0.1944, allocations: 0 / 0.5626 GB, free: 9.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01019/0.2046, allocations: 2.431 MB / 0.5649 GB, free: 6.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.2048, allocations: 89.61 kB / 0.565 GB, free: 6.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.2058, allocations: 0.5825 MB / 0.5656 GB, free: 6.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.206, allocations: 37.7 kB / 0.5656 GB, free: 6.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.2064, allocations: 376.3 kB / 0.566 GB, free: 5.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.2066, allocations: 224.8 kB / 0.5662 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.2069, allocations: 118.2 kB / 0.5663 GB, free: 5.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.2071, allocations: 390.7 kB / 0.5667 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.2075, allocations: 205.2 kB / 0.5669 GB, free: 4.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.208, allocations: 302.8 kB / 0.5672 GB, free: 4.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.2089, allocations: 0.5276 MB / 0.5677 GB, free: 3.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2089, allocations: 4 kB / 0.5677 GB, free: 3.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005325/0.2143, allocations: 1.377 MB / 0.569 GB, free: 2.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.2143, allocations: 6.5 kB / 0.569 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.2144, allocations: 4 kB / 0.569 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/0.2199, allocations: 0.9468 MB / 0.57 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.2204, allocations: 95.89 kB / 0.5701 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.2232, allocations: 2.945 MB / 0.5729 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.2237, allocations: 55.53 kB / 0.573 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.2238, allocations: 27.98 kB / 0.573 GB, free: 14.2 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.0004186/0.2242, allocations: 205.5 kB / 0.5732 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.2245, allocations: 82.97 kB / 0.5733 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/0.2299, allocations: 1.486 MB / 0.5747 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.2299, allocations: 11.94 kB / 0.5748 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.23, allocations: 0 / 0.5748 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.23, allocations: 3.984 kB / 0.5748 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/0.2362, allocations: 2.132 MB / 0.5768 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.2363, allocations: 7.938 kB / 0.5769 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.2366, allocations: 75.89 kB / 0.5769 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00495/0.2416, allocations: 0.9313 MB / 0.5778 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.2417, allocations: 19.98 kB / 0.5779 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.2444, allocations: 2.948 MB / 0.5807 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2444, allocations: 0 / 0.5807 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/0.2499, allocations: 1.767 MB / 0.5825 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.2503, allocations: 204 kB / 0.5827 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2505, allocations: 23.84 kB / 0.5827 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.2508, allocations: 16 kB / 0.5827 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.251, allocations: 44.5 kB / 0.5827 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.251, allocations: 19.98 kB / 0.5828 GB, free: 3.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005805/0.2516, allocations: 427 kB / 0.5832 GB, free: 3.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2516, allocations: 0 / 0.5832 GB, free: 3.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009535/0.2526, allocations: 283.6 kB / 0.5834 GB, free: 3.184 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.006423/0.259, allocations: 2.6 MB / 0.586 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2951/0.5541, allocations: 0.7097 MB / 0.5867 GB, free: 72.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5542, allocations: 0 / 0.5867 GB, free: 72.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.5556, allocations: 456.3 kB / 0.5871 GB, free: 72.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.5576, allocations: 217.1 kB / 0.5873 GB, free: 72.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/0.5841, allocations: 7.477 MB / 0.5946 GB, free: 69.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.5846, allocations: 0.9487 MB / 0.5955 GB, free: 68.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006663/0.5853, allocations: 114.7 kB / 0.5956 GB, free: 68.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.5857, allocations: 302.6 kB / 0.5959 GB, free: 68.62 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5857, allocations: 0 / 0.5959 GB, free: 68.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0736/0.6593, allocations: 23.41 MB / 0.6188 GB, free: 59.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.45, allocations: 12.88 kB / 0.6188 GB, free: 59.54 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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv --start-time 0 --stop-time 1000 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv","/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