Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_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.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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_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_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.001066/0.001066, allocations: 183.4 kB / 15.98 MB, free: 5.77 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.247/1.247, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.0009819/0.0009817, allocations: 107.9 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6852/0.6852, allocations: 91.23 MB / 407.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.86 kB / 483.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2698, allocations: 64.97 MB / 0.5356 GB, free: 33.65 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.0143/0.2841, allocations: 17.32 MB / 0.5526 GB, free: 20.35 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.2893, allocations: 6.754 MB / 0.5592 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.29, allocations: 11.94 kB / 0.5592 GB, free: 13.56 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.2907, allocations: 234.7 kB / 0.5594 GB, free: 13.33 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2919, allocations: 453.3 kB / 0.5598 GB, free: 12.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.2926, allocations: 334.9 kB / 0.5601 GB, free: 12.56 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.2932, allocations: 0.8089 MB / 0.5609 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.2933, allocations: 119 kB / 0.5611 GB, free: 11.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.2937, allocations: 262.8 kB / 0.5613 GB, free: 11.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.2939, allocations: 270.7 kB / 0.5616 GB, free: 11.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.294, allocations: 32 kB / 0.5616 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007409/0.2947, allocations: 367.6 kB / 0.5619 GB, free: 10.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.2948, allocations: 87.55 kB / 0.562 GB, free: 10.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.295, allocations: 246.7 kB / 0.5623 GB, free: 10.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006889/0.2957, allocations: 0.7321 MB / 0.563 GB, free: 9.648 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2957, allocations: 0 / 0.563 GB, free: 9.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2957, allocations: 0 / 0.563 GB, free: 9.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.2957, allocations: 0 / 0.563 GB, free: 9.648 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.001197/0.2969, allocations: 0.8609 MB / 0.5638 GB, free: 8.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2969, allocations: 8.031 kB / 0.5638 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.2971, allocations: 64.27 kB / 0.5639 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.2975, allocations: 355.7 kB / 0.5642 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.2976, allocations: 37.31 kB / 0.5643 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.2976, allocations: 44.3 kB / 0.5643 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.2983, allocations: 466.9 kB / 0.5647 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2983, allocations: 0 / 0.5647 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.2984, allocations: 16 kB / 0.5648 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2984, allocations: 8 kB / 0.5648 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.2991, allocations: 411.7 kB / 0.5652 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.3013, allocations: 2.059 MB / 0.5672 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.302, allocations: 469 kB / 0.5676 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.3023, allocations: 205 kB / 0.5678 GB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.3036, allocations: 1.43 MB / 0.5692 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3037, allocations: 38.56 kB / 0.5692 GB, free: 2.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.3037, allocations: 0 / 0.5692 GB, free: 2.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.005585/0.3093, allocations: 1.468 MB / 0.5707 GB, free: 1.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3093, allocations: 81.11 kB / 0.5708 GB, free: 1.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3096, allocations: 329.7 kB / 0.5711 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3096, allocations: 37.7 kB / 0.5711 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3097, allocations: 232.3 kB / 0.5713 GB, free: 500 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.3098, allocations: 149.8 kB / 0.5715 GB, free: 348 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3099, allocations: 74.05 kB / 0.5715 GB, free: 268 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.31, allocations: 362.8 kB / 0.5719 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3103, allocations: 136.8 kB / 0.572 GB, free: 15.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.3106, allocations: 197.7 kB / 0.5722 GB, free: 15.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.3112, allocations: 359.7 kB / 0.5726 GB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3112, allocations: 0 / 0.5726 GB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002727/0.3139, allocations: 0.793 MB / 0.5733 GB, free: 14.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3139, allocations: 12.03 kB / 0.5733 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.314, allocations: 0 / 0.5733 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002717/0.3167, allocations: 489.2 kB / 0.5738 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3169, allocations: 67.91 kB / 0.5739 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3186, allocations: 2.098 MB / 0.5759 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.3189, allocations: 47.61 kB / 0.576 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.319, allocations: 16 kB / 0.576 GB, free: 11.5 MB / 410.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.0002119/0.3192, allocations: 157.8 kB / 0.5761 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.3193, allocations: 51.52 kB / 0.5762 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.3222, allocations: 0.8389 MB / 0.577 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3223, allocations: 7.938 kB / 0.577 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3223, allocations: 11.94 kB / 0.577 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3223, allocations: 0 / 0.577 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.3258, allocations: 1.387 MB / 0.5784 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3258, allocations: 0 / 0.5784 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3261, allocations: 59.91 kB / 0.5784 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/0.3289, allocations: 493.2 kB / 0.5789 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.3289, allocations: 19.92 kB / 0.5789 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.3306, allocations: 2.09 MB / 0.581 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3306, allocations: 0 / 0.581 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.3461, allocations: 7.897 MB / 0.5887 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.3463, allocations: 156.5 kB / 0.5888 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.3464, allocations: 12.19 kB / 0.5888 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3467, allocations: 19.89 kB / 0.5889 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3468, allocations: 39.88 kB / 0.5889 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3468, allocations: 19.88 kB / 0.5889 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002549/0.3471, allocations: 239.3 kB / 0.5891 GB, free: 13.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3471, allocations: 0 / 0.5891 GB, free: 13.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009057/0.348, allocations: 271.6 kB / 0.5894 GB, free: 13.02 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 (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.0004242/0.3484, allocations: 291 kB / 0.5897 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.3494, allocations: 0.4925 MB / 0.5902 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3494, allocations: 0 / 0.5902 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005343/0.3499, allocations: 350.7 kB / 0.5905 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/0.3508, allocations: 113.5 kB / 0.5906 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3531, allocations: 1.696 MB / 0.5923 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3535, allocations: 0.8395 MB / 0.5931 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.3538, allocations: 73.31 kB / 0.5931 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3539, allocations: 35.44 kB / 0.5932 GB, free: 9.023 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3539, allocations: 4 kB / 0.5932 GB, free: 9.02 MB / 426.7 MB Notification: Performance of Templates: time 0.01764/0.3715, allocations: 11.28 MB / 0.6042 GB, free: 13.82 MB / 442.7 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches