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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004113/0.004117, allocations: 167 kB / 15.13 MB, free: 6.02 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.278/1.278, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0007545/0.0007546, allocations: 82.33 kB / 269.6 MB, free: 13.34 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.6557/0.6557, allocations: 90.59 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 8 kB / 485.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2911, allocations: 66.27 MB / 0.5386 GB, free: 45.56 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01188/0.303, allocations: 15.88 MB / 0.5541 GB, free: 38.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.3075, allocations: 6.231 MB / 0.5602 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3078, allocations: 9.719 kB / 0.5602 GB, free: 34.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.3082, allocations: 227 kB / 0.5604 GB, free: 34.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.3089, allocations: 445.5 kB / 0.5608 GB, free: 33.77 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.3094, allocations: 278.5 kB / 0.5611 GB, free: 33.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.3099, allocations: 0.7154 MB / 0.5618 GB, free: 33.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.3101, allocations: 105.8 kB / 0.5619 GB, free: 33.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.3104, allocations: 244.7 kB / 0.5621 GB, free: 33.15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.3106, allocations: 237.2 kB / 0.5624 GB, free: 33.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.3106, allocations: 17.72 kB / 0.5624 GB, free: 33.04 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.3112, allocations: 280.7 kB / 0.5626 GB, free: 32.97 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.3112, allocations: 75.23 kB / 0.5627 GB, free: 32.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.3113, allocations: 112.7 kB / 0.5628 GB, free: 32.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.3117, allocations: 0.4927 MB / 0.5633 GB, free: 32.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3117, allocations: 2.938 kB / 0.5633 GB, free: 32.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3117, allocations: 0 / 0.5633 GB, free: 32.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3118, allocations: 0 / 0.5633 GB, free: 32.7 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001035/0.3128, allocations: 0.7766 MB / 0.5641 GB, free: 32.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.3128, allocations: 8.156 kB / 0.5641 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.313, allocations: 60.34 kB / 0.5641 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.3133, allocations: 354.8 kB / 0.5645 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3134, allocations: 30.44 kB / 0.5645 GB, free: 31.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.3134, allocations: 46.08 kB / 0.5645 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.3141, allocations: 449.7 kB / 0.565 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3141, allocations: 0 / 0.565 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3141, allocations: 20.12 kB / 0.565 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3142, allocations: 13.56 kB / 0.565 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.3147, allocations: 416.2 kB / 0.5654 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.3167, allocations: 2.056 MB / 0.5674 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.3174, allocations: 476.7 kB / 0.5679 GB, free: 29.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.3177, allocations: 207.5 kB / 0.5681 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.3189, allocations: 1.427 MB / 0.5695 GB, free: 28.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3189, allocations: 43.19 kB / 0.5695 GB, free: 28.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/0.3189, allocations: 0 / 0.5695 GB, free: 28.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.005734/0.3247, allocations: 1.475 MB / 0.5709 GB, free: 27.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.3247, allocations: 81.64 kB / 0.571 GB, free: 27.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.325, allocations: 328.2 kB / 0.5713 GB, free: 27.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3251, allocations: 31.14 kB / 0.5714 GB, free: 27.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3252, allocations: 238.4 kB / 0.5716 GB, free: 27.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.3253, allocations: 149.8 kB / 0.5717 GB, free: 26.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.3253, allocations: 5.219 kB / 0.5717 GB, free: 26.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.3254, allocations: 353.3 kB / 0.5721 GB, free: 26.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3256, allocations: 132.2 kB / 0.5722 GB, free: 26.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3259, allocations: 203.8 kB / 0.5724 GB, free: 26.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.3261, allocations: 154.8 kB / 0.5725 GB, free: 26.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3261, allocations: 0.9688 kB / 0.5725 GB, free: 26.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002671/0.3288, allocations: 0.8071 MB / 0.5733 GB, free: 26.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3289, allocations: 6.156 kB / 0.5733 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3289, allocations: 1.625 kB / 0.5733 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.3316, allocations: 487.6 kB / 0.5738 GB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.3319, allocations: 66.89 kB / 0.5739 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.3332, allocations: 2.092 MB / 0.5759 GB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3335, allocations: 56.22 kB / 0.576 GB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.3335, allocations: 17.86 kB / 0.576 GB, free: 23.95 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.3337, allocations: 157.2 kB / 0.5761 GB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.3338, allocations: 39.47 kB / 0.5762 GB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.3367, allocations: 0.8408 MB / 0.577 GB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3367, allocations: 6.016 kB / 0.577 GB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3367, allocations: 1.031 kB / 0.577 GB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3367, allocations: 3.266 kB / 0.577 GB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.34, allocations: 1.394 MB / 0.5784 GB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3401, allocations: 0.6562 kB / 0.5784 GB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.3403, allocations: 60.19 kB / 0.5784 GB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.3429, allocations: 492.1 kB / 0.5789 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.3429, allocations: 11.3 kB / 0.5789 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3441, allocations: 2.102 MB / 0.5809 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3441, allocations: 1.375 kB / 0.5809 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.347, allocations: 1.151 MB / 0.5821 GB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3472, allocations: 151.4 kB / 0.5822 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.3472, allocations: 12.33 kB / 0.5822 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.3475, allocations: 28.77 kB / 0.5823 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.3476, allocations: 39.22 kB / 0.5823 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.3476, allocations: 15.58 kB / 0.5823 GB, free: 20 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.3478, allocations: 228.1 kB / 0.5825 GB, free: 19.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3478, allocations: 0 / 0.5825 GB, free: 19.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005785/0.3484, allocations: 198.6 kB / 0.5827 GB, free: 19.82 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.3488, allocations: 292.4 kB / 0.583 GB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008386/0.3496, allocations: 0.4992 MB / 0.5835 GB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3497, allocations: 1.406 kB / 0.5835 GB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.3502, allocations: 337.8 kB / 0.5838 GB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.3509, allocations: 118 kB / 0.5839 GB, free: 19.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3524, allocations: 1.245 MB / 0.5851 GB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3527, allocations: 0.8304 MB / 0.5859 GB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.3529, allocations: 66.23 kB / 0.586 GB, free: 17.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.353, allocations: 36.27 kB / 0.586 GB, free: 17.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.353, allocations: 1.438 kB / 0.586 GB, free: 17.73 MB / 426.7 MB Notification: Performance of Templates: time 0.01435/0.3673, allocations: 9.174 MB / 0.595 GB, free: 14.52 MB / 426.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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