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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009242/0.0009243, allocations: 171.9 kB / 16.11 MB, free: 5.688 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.173/1.173, allocations: 205 MB / 221.9 MB, free: 9.129 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.0006844/0.0006844, allocations: 96.86 kB / 269.9 MB, free: 8.66 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.6107/0.6107, allocations: 90.51 MB / 408.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002703, allocations: 8 kB / 484.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 65.8 MB / 0.5378 GB, free: 34.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01463/0.2408, allocations: 22.29 MB / 0.5595 GB, free: 16.64 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.247, allocations: 9.313 MB / 0.5686 GB, free: 7.301 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.2474, allocations: 15.94 kB / 0.5686 GB, free: 7.285 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.248, allocations: 342.2 kB / 0.569 GB, free: 6.949 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.2491, allocations: 0.6796 MB / 0.5696 GB, free: 6.266 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.2498, allocations: 426.7 kB / 0.57 GB, free: 5.848 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.2504, allocations: 1.159 MB / 0.5712 GB, free: 4.684 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.2506, allocations: 195.8 kB / 0.5713 GB, free: 4.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.251, allocations: 354.4 kB / 0.5717 GB, free: 4.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2512, allocations: 374.1 kB / 0.572 GB, free: 3.766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.2513, allocations: 28 kB / 0.5721 GB, free: 3.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.2521, allocations: 0.5072 MB / 0.5726 GB, free: 3.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.2522, allocations: 111.4 kB / 0.5727 GB, free: 3.121 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.2524, allocations: 361.9 kB / 0.573 GB, free: 2.766 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.2532, allocations: 1.043 MB / 0.574 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2532, allocations: 0 / 0.574 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2533, allocations: 3.938 kB / 0.574 GB, free: 1.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2533, allocations: 3.938 kB / 0.574 GB, free: 1.711 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00128/0.2546, allocations: 0.9934 MB / 0.575 GB, free: 0.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2546, allocations: 8.031 kB / 0.575 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.2548, allocations: 91.91 kB / 0.5751 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.2552, allocations: 465.4 kB / 0.5755 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2552, allocations: 45.69 kB / 0.5756 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.2553, allocations: 60.45 kB / 0.5756 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009386/0.2563, allocations: 0.6646 MB / 0.5763 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2563, allocations: 0 / 0.5763 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.2564, allocations: 32 kB / 0.5763 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2564, allocations: 16 kB / 0.5763 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.2573, allocations: 0.6297 MB / 0.577 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.2603, allocations: 3.009 MB / 0.5799 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.2614, allocations: 0.7366 MB / 0.5806 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.2618, allocations: 296.5 kB / 0.5809 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.2635, allocations: 1.92 MB / 0.5828 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2636, allocations: 39.12 kB / 0.5828 GB, free: 8.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=68): time 1.883e-06/0.2636, allocations: 0 / 0.5828 GB, free: 8.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.009142/0.2727, allocations: 2.459 MB / 0.5852 GB, free: 5.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2728, allocations: 85.67 kB / 0.5853 GB, free: 5.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2732, allocations: 426.1 kB / 0.5857 GB, free: 5.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.2733, allocations: 37.7 kB / 0.5857 GB, free: 4.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2735, allocations: 316.3 kB / 0.586 GB, free: 4.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.2736, allocations: 240.5 kB / 0.5863 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.2737, allocations: 16 kB / 0.5863 GB, free: 4.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2738, allocations: 366.8 kB / 0.5866 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.2742, allocations: 217.9 kB / 0.5868 GB, free: 3.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.2746, allocations: 318.2 kB / 0.5871 GB, free: 3.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.2754, allocations: 0.555 MB / 0.5877 GB, free: 2.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2754, allocations: 3.938 kB / 0.5877 GB, free: 2.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004578/0.28, allocations: 1.377 MB / 0.589 GB, free: 1.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.28, allocations: 7.984 kB / 0.589 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2801, allocations: 4 kB / 0.589 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00465/0.2847, allocations: 0.9274 MB / 0.59 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.2851, allocations: 103.9 kB / 0.5901 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.2872, allocations: 2.836 MB / 0.5928 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.2876, allocations: 71.36 kB / 0.5929 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.2876, allocations: 31.98 kB / 0.5929 GB, free: 13.34 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.0002377/0.2879, allocations: 189.7 kB / 0.5931 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.288, allocations: 59.25 kB / 0.5932 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.2928, allocations: 1.443 MB / 0.5946 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2928, allocations: 3.984 kB / 0.5946 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2928, allocations: 0 / 0.5946 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.293, allocations: 204.1 kB / 0.5948 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.2931, allocations: 16 kB / 0.5948 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.2935, allocations: 31.89 kB / 0.5948 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2936, allocations: 64.53 kB / 0.5949 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002371/0.296, allocations: 1.107 MB / 0.596 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001425/0.2974, allocations: 1.178 MB / 0.5971 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003845/0.2978, allocations: 269.1 kB / 0.5974 GB, free: 8.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002692/0.2981, allocations: 302.8 kB / 0.5976 GB, free: 8.43 MB / 426.7 MB Notification: Performance of Backend: time 4.41e-07/0.2981, allocations: 0 / 0.5976 GB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.2999, allocations: 0.9317 MB / 0.5986 GB, free: 7.484 MB / 426.7 MB Notification: Performance of SimCode: time 0.002269/0.3022, allocations: 2.232 MB / 0.6007 GB, free: 5.215 MB / 426.7 MB Notification: Performance of Templates: time 0.02002/0.3222, allocations: 14.13 MB / 0.6145 GB, free: 7.188 MB / 442.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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