Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007886/0.0007887, allocations: 178.5 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205 MB / 221.2 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006582/0.0006582, allocations: 90.34 kB / 269.2 MB, free: 13.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5911/0.5911, allocations: 90.51 MB / 407.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002577, allocations: 11.98 kB / 484.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09088, allocations: 65.81 MB / 0.5372 GB, free: 0.625 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.1711/0.262, allocations: 22.28 MB / 0.559 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.2678, allocations: 9.313 MB / 0.5681 GB, free: 28.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.2681, allocations: 14.94 kB / 0.5681 GB, free: 28.05 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.2688, allocations: 354.3 kB / 0.5684 GB, free: 27.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.2698, allocations: 0.6695 MB / 0.5691 GB, free: 27.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.2704, allocations: 423.7 kB / 0.5695 GB, free: 27.22 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.2712, allocations: 1.153 MB / 0.5706 GB, free: 26.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.2714, allocations: 198.8 kB / 0.5708 GB, free: 26.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.2718, allocations: 359.7 kB / 0.5711 GB, free: 26.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.2722, allocations: 373 kB / 0.5715 GB, free: 26.31 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.2722, allocations: 29.38 kB / 0.5715 GB, free: 26.31 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008631/0.2731, allocations: 0.5028 MB / 0.572 GB, free: 26.15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.2732, allocations: 109.9 kB / 0.5721 GB, free: 26.08 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.2734, allocations: 364.2 kB / 0.5725 GB, free: 25.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2745, allocations: 1.04 MB / 0.5735 GB, free: 25.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2745, allocations: 0 / 0.5735 GB, free: 25.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2745, allocations: 5.5 kB / 0.5735 GB, free: 25.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2745, allocations: 0 / 0.5735 GB, free: 25.5 MB / 426.7 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.001339/0.2759, allocations: 0.9927 MB / 0.5745 GB, free: 24.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2759, allocations: 10.06 kB / 0.5745 GB, free: 24.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.196e-05/0.276, allocations: 105.4 kB / 0.5746 GB, free: 24.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2762, allocations: 95.17 kB / 0.5747 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.2766, allocations: 455.9 kB / 0.5751 GB, free: 24.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.2767, allocations: 47.22 kB / 0.5751 GB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.2768, allocations: 61.14 kB / 0.5752 GB, free: 24.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/0.2776, allocations: 0.6716 MB / 0.5758 GB, free: 23.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2777, allocations: 2.062 kB / 0.5758 GB, free: 23.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.2777, allocations: 29.44 kB / 0.5759 GB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.2777, allocations: 15.47 kB / 0.5759 GB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.2786, allocations: 0.6301 MB / 0.5765 GB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.2813, allocations: 3.005 MB / 0.5794 GB, free: 21.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.2822, allocations: 0.7309 MB / 0.5802 GB, free: 21.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.2826, allocations: 298.4 kB / 0.5804 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.2841, allocations: 1.921 MB / 0.5823 GB, free: 19.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2841, allocations: 43.47 kB / 0.5824 GB, free: 19.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 1.703e-06/0.2841, allocations: 0 / 0.5824 GB, free: 19.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.008561/0.2927, allocations: 2.461 MB / 0.5848 GB, free: 18.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.2927, allocations: 85.83 kB / 0.5848 GB, free: 18.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.2931, allocations: 427.2 kB / 0.5852 GB, free: 18.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2932, allocations: 36.36 kB / 0.5853 GB, free: 17.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2933, allocations: 324.6 kB / 0.5856 GB, free: 17.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.2934, allocations: 235.4 kB / 0.5858 GB, free: 17.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.2934, allocations: 15.25 kB / 0.5858 GB, free: 17.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.2935, allocations: 372.1 kB / 0.5862 GB, free: 17.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.2938, allocations: 216.6 kB / 0.5864 GB, free: 17.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.2942, allocations: 313.9 kB / 0.5867 GB, free: 16.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.2949, allocations: 0.5553 MB / 0.5872 GB, free: 16.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2949, allocations: 1.312 kB / 0.5872 GB, free: 16.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004265/0.2992, allocations: 1.381 MB / 0.5886 GB, free: 16.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2992, allocations: 7.016 kB / 0.5886 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2992, allocations: 1.375 kB / 0.5886 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004275/0.3035, allocations: 0.926 MB / 0.5895 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.3038, allocations: 108.3 kB / 0.5896 GB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3054, allocations: 2.831 MB / 0.5924 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.3058, allocations: 70.78 kB / 0.5924 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.3058, allocations: 30.3 kB / 0.5925 GB, free: 13.38 MB / 426.7 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001837/0.306, allocations: 186.8 kB / 0.5926 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3061, allocations: 67.81 kB / 0.5927 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.3105, allocations: 1.434 MB / 0.5941 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3105, allocations: 7.422 kB / 0.5941 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3105, allocations: 2.625 kB / 0.5941 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3106, allocations: 7.469 kB / 0.5941 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.3156, allocations: 2.152 MB / 0.5962 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3157, allocations: 1.031 kB / 0.5962 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3159, allocations: 83.11 kB / 0.5963 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00421/0.3202, allocations: 0.9398 MB / 0.5972 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.3202, allocations: 21.41 kB / 0.5972 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.3217, allocations: 2.826 MB / 0.6 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3217, allocations: 1.188 kB / 0.6 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.3262, allocations: 1.818 MB / 0.6018 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3264, allocations: 202.3 kB / 0.602 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.3264, allocations: 24.58 kB / 0.602 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.3268, allocations: 29.61 kB / 0.602 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.3268, allocations: 46.03 kB / 0.6021 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3269, allocations: 22.55 kB / 0.6021 GB, free: 7.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3271, allocations: 295.5 kB / 0.6024 GB, free: 7.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3271, allocations: 3.938 kB / 0.6024 GB, free: 7.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007304/0.3279, allocations: 294.8 kB / 0.6027 GB, free: 7.379 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00511/0.333, allocations: 2.654 MB / 0.6052 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.334, allocations: 0.7324 MB / 0.606 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3341, allocations: 1.25 kB / 0.606 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.3346, allocations: 480.3 kB / 0.6064 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.3355, allocations: 181.2 kB / 0.6066 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.3473, allocations: 6.997 MB / 0.6134 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.3477, allocations: 0.9068 MB / 0.6143 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.348, allocations: 92.61 kB / 0.6144 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.3483, allocations: 251.3 kB / 0.6146 GB, free: 12.36 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.3483, allocations: 0 / 0.6146 GB, free: 12.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1805/0.5288, allocations: 20.41 MB / 0.6346 GB, free: 8.254 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.529, allocations: 266.2 kB / 0.6348 GB, free: 7.926 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.843, allocations: 0 / 0.6348 GB, free: 7.926 MB / 458.7 MB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches