Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",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.0007916/0.0007916, allocations: 176 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.134/1.134, allocations: 205 MB / 221.2 MB, free: 1.863 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006398/0.0006398, allocations: 98.23 kB / 269.2 MB, free: 1.805 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4723/0.4723, allocations: 90.52 MB / 407.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002466, allocations: 8 kB / 484.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.08848, allocations: 65.81 MB / 0.5372 GB, free: 1.629 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01333/0.1018, allocations: 16.84 MB / 0.5537 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1665/0.2684, allocations: 6.659 MB / 0.5602 GB, free: 10.81 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.2687, allocations: 10.66 kB / 0.5602 GB, free: 10.81 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.2693, allocations: 237.2 kB / 0.5604 GB, free: 10.8 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008633/0.2702, allocations: 455.2 kB / 0.5608 GB, free: 10.78 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.2708, allocations: 330.2 kB / 0.5611 GB, free: 10.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.2714, allocations: 0.7903 MB / 0.5619 GB, free: 10.63 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.2716, allocations: 130.3 kB / 0.562 GB, free: 10.6 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.2719, allocations: 263.1 kB / 0.5623 GB, free: 10.56 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2721, allocations: 249.3 kB / 0.5625 GB, free: 10.49 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.2722, allocations: 19.59 kB / 0.5625 GB, free: 10.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006364/0.2728, allocations: 362 kB / 0.5629 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.2729, allocations: 78.73 kB / 0.563 GB, free: 10.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2731, allocations: 236.3 kB / 0.5632 GB, free: 10.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007727/0.2739, allocations: 0.7175 MB / 0.5639 GB, free: 10.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2739, allocations: 0 / 0.5639 GB, free: 10.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2739, allocations: 4.906 kB / 0.5639 GB, free: 10.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2739, allocations: 0 / 0.5639 GB, free: 10.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.000966/0.2749, allocations: 0.7654 MB / 0.5646 GB, free: 9.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2749, allocations: 13.62 kB / 0.5647 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.696e-05/0.275, allocations: 82.62 kB / 0.5647 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.2751, allocations: 59.84 kB / 0.5648 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.2755, allocations: 357.2 kB / 0.5651 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2755, allocations: 29.45 kB / 0.5652 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.2756, allocations: 40.25 kB / 0.5652 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.2762, allocations: 465.4 kB / 0.5656 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2762, allocations: 5.344 kB / 0.5656 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.2762, allocations: 12.84 kB / 0.5657 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.2763, allocations: 15.11 kB / 0.5657 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.2769, allocations: 413.4 kB / 0.5661 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.2788, allocations: 2.062 MB / 0.5681 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.2795, allocations: 490.1 kB / 0.5686 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2798, allocations: 199.1 kB / 0.5687 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.2809, allocations: 1.43 MB / 0.5701 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2809, allocations: 38.05 kB / 0.5702 GB, free: 6.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.552e-06/0.2809, allocations: 0 / 0.5702 GB, free: 6.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.005294/0.2862, allocations: 1.472 MB / 0.5716 GB, free: 6.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2862, allocations: 82.34 kB / 0.5717 GB, free: 6.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.2866, allocations: 334.1 kB / 0.572 GB, free: 6.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2866, allocations: 31.48 kB / 0.572 GB, free: 6.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2867, allocations: 234.5 kB / 0.5723 GB, free: 5.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.2868, allocations: 156.1 kB / 0.5724 GB, free: 5.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.2868, allocations: 6.031 kB / 0.5724 GB, free: 5.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.2869, allocations: 357.5 kB / 0.5728 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.2872, allocations: 133.5 kB / 0.5729 GB, free: 5.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.2875, allocations: 197.1 kB / 0.5731 GB, free: 5.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.288, allocations: 359.6 kB / 0.5734 GB, free: 5.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.288, allocations: 5.094 kB / 0.5734 GB, free: 5.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002539/0.2906, allocations: 0.8 MB / 0.5742 GB, free: 4.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2906, allocations: 6.016 kB / 0.5742 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2906, allocations: 5.312 kB / 0.5742 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.2929, allocations: 490 kB / 0.5747 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.2932, allocations: 66.8 kB / 0.5747 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.2944, allocations: 2.086 MB / 0.5768 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.2947, allocations: 49.78 kB / 0.5768 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2948, allocations: 20.77 kB / 0.5768 GB, free: 2.719 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.2949, allocations: 162.4 kB / 0.577 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.295, allocations: 42.44 kB / 0.577 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.2976, allocations: 0.8453 MB / 0.5779 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2976, allocations: 6.531 kB / 0.5779 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2977, allocations: 3.938 kB / 0.5779 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2977, allocations: 3.234 kB / 0.5779 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.3007, allocations: 1.395 MB / 0.5792 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3007, allocations: 1.125 kB / 0.5792 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.301, allocations: 56.17 kB / 0.5793 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.3032, allocations: 495.8 kB / 0.5798 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.3032, allocations: 15.5 kB / 0.5798 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.3044, allocations: 2.087 MB / 0.5818 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3044, allocations: 1.062 kB / 0.5818 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.3072, allocations: 1.161 MB / 0.583 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3074, allocations: 160.8 kB / 0.5831 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.3075, allocations: 10.66 kB / 0.5831 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3077, allocations: 28.64 kB / 0.5832 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.3078, allocations: 29.52 kB / 0.5832 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.3078, allocations: 15.89 kB / 0.5832 GB, free: 14.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.308, allocations: 237 kB / 0.5834 GB, free: 14.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3081, allocations: 0 / 0.5834 GB, free: 14.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006232/0.3087, allocations: 190.6 kB / 0.5836 GB, free: 14.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003379/0.3121, allocations: 1.888 MB / 0.5854 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009215/0.313, allocations: 0.5023 MB / 0.5859 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.313, allocations: 0 / 0.5859 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.3135, allocations: 343.6 kB / 0.5863 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.3143, allocations: 124.7 kB / 0.5864 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008277/0.3226, allocations: 4.799 MB / 0.5911 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.323, allocations: 0.836 MB / 0.5919 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.3232, allocations: 57.97 kB / 0.5919 GB, free: 9.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.3234, allocations: 166.8 kB / 0.5921 GB, free: 8.895 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3234, allocations: 0 / 0.5921 GB, free: 8.895 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1781/0.5015, allocations: 13.75 MB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5017, allocations: 257.8 kB / 0.6058 GB, free: 13.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.753, allocations: 0 / 0.6058 GB, free: 13.59 MB / 426.7 MB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches