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.002046/0.002046, 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.002039/0.002039, allocations: 196.8 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.581/1.581, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8314/0.8314, allocations: 93.71 MB / 384.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 77.41 kB / 463.5 MB, free: 21.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1856, allocations: 68.26 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03044/0.2161, allocations: 22.85 MB / 0.5416 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.23, allocations: 9.462 MB / 0.5509 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.2313, allocations: 31.81 kB / 0.5509 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.233, allocations: 409.2 kB / 0.5513 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.236, allocations: 0.7917 MB / 0.552 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.2376, allocations: 482.3 kB / 0.5525 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.2394, allocations: 1.151 MB / 0.5536 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.2398, allocations: 239.6 kB / 0.5539 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007901/0.2406, allocations: 477.9 kB / 0.5543 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.2412, allocations: 441.8 kB / 0.5547 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-05/0.2413, allocations: 60 kB / 0.5548 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.2434, allocations: 0.5073 MB / 0.5553 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.2436, allocations: 151.3 kB / 0.5554 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.2442, allocations: 449.4 kB / 0.5559 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.2462, allocations: 1.168 MB / 0.557 GB, free: 148 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2462, allocations: 4 kB / 0.557 GB, free: 144 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2462, allocations: 0 / 0.557 GB, free: 144 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.2463, allocations: 0 / 0.557 GB, free: 144 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.00258/0.2489, allocations: 1.25 MB / 0.5582 GB, free: 14.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.2489, allocations: 8.031 kB / 0.5582 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.2491, allocations: 102.7 kB / 0.5583 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.2495, allocations: 115.6 kB / 0.5584 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.2505, allocations: 0.6085 MB / 0.559 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.2505, allocations: 49.31 kB / 0.5591 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2507, allocations: 60 kB / 0.5591 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.252, allocations: 0.673 MB / 0.5598 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2521, allocations: 0 / 0.5598 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.2521, allocations: 28 kB / 0.5598 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.2522, allocations: 16 kB / 0.5598 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.2535, allocations: 0.6219 MB / 0.5604 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004783/0.2583, allocations: 3.019 MB / 0.5634 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.2596, allocations: 0.6694 MB / 0.5641 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.26, allocations: 288.1 kB / 0.5643 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002591/0.2626, allocations: 1.908 MB / 0.5662 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.2627, allocations: 47.12 kB / 0.5662 GB, free: 6.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.294e-06/0.2627, allocations: 0 / 0.5662 GB, free: 6.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01088/0.2736, allocations: 2.435 MB / 0.5686 GB, free: 3.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.2737, allocations: 89.55 kB / 0.5687 GB, free: 3.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009417/0.2746, allocations: 0.5905 MB / 0.5693 GB, free: 2.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.2747, allocations: 37.7 kB / 0.5693 GB, free: 2.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.2751, allocations: 388.3 kB / 0.5697 GB, free: 2.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.2753, allocations: 220.7 kB / 0.5699 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.2756, allocations: 114.3 kB / 0.57 GB, free: 2.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.2758, allocations: 330 kB / 0.5703 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.2763, allocations: 213.2 kB / 0.5705 GB, free: 1.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.2769, allocations: 294.8 kB / 0.5708 GB, free: 1.215 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2779, allocations: 0.5237 MB / 0.5713 GB, free: 0.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2779, allocations: 4 kB / 0.5713 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005455/0.2834, allocations: 1.388 MB / 0.5727 GB, free: 15.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.2835, allocations: 8 kB / 0.5727 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2835, allocations: 0 / 0.5727 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00523/0.2887, allocations: 0.9352 MB / 0.5736 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.2893, allocations: 99.83 kB / 0.5737 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.2922, allocations: 2.96 MB / 0.5766 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.2928, allocations: 47.44 kB / 0.5766 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.2928, allocations: 36.05 kB / 0.5767 GB, free: 10.98 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.0005356/0.2934, allocations: 205.6 kB / 0.5769 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.2936, allocations: 75.06 kB / 0.5769 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/0.2991, allocations: 1.493 MB / 0.5784 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2992, allocations: 7.938 kB / 0.5784 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2992, allocations: 7.938 kB / 0.5784 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.2992, allocations: 3.984 kB / 0.5784 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/0.3057, allocations: 2.136 MB / 0.5805 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3057, allocations: 0 / 0.5805 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.3061, allocations: 75.89 kB / 0.5806 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/0.3113, allocations: 0.9351 MB / 0.5815 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.3114, allocations: 20 kB / 0.5815 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.3143, allocations: 2.945 MB / 0.5844 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3143, allocations: 0 / 0.5844 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/0.3202, allocations: 1.759 MB / 0.5861 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.3206, allocations: 208 kB / 0.5863 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3208, allocations: 27.78 kB / 0.5863 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.3211, allocations: 12 kB / 0.5863 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3213, allocations: 48.44 kB / 0.5864 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3214, allocations: 23.98 kB / 0.5864 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006048/0.3221, allocations: 431 kB / 0.5868 GB, free: 244 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3221, allocations: 0 / 0.5868 GB, free: 244 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.3316/0.6537, allocations: 285.2 kB / 0.5871 GB, free: 69.21 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.007125/0.6609, allocations: 2.593 MB / 0.5896 GB, free: 68.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.6627, allocations: 0.7176 MB / 0.5903 GB, free: 68.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6627, allocations: 1.156 kB / 0.5903 GB, free: 68.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.6635, allocations: 441 kB / 0.5907 GB, free: 68.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.665, allocations: 221.2 kB / 0.5909 GB, free: 68.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.6814, allocations: 7.537 MB / 0.5983 GB, free: 64.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.6818, allocations: 0.9513 MB / 0.5992 GB, free: 63.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004569/0.6823, allocations: 105.1 kB / 0.5993 GB, free: 63.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.6827, allocations: 309.6 kB / 0.5996 GB, free: 63.55 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6827, allocations: 2.656 kB / 0.5996 GB, free: 63.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/0.7627, allocations: 23.52 MB / 0.6226 GB, free: 54.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.12, allocations: 8.062 kB / 0.6226 GB, free: 54.32 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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_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.csv","/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