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.0008346/0.0008346, allocations: 169.4 kB / 16.1 MB, free: 5.691 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.157/1.157, allocations: 205 MB / 221.9 MB, free: 9.055 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.0007178/0.0007179, allocations: 86.17 kB / 269.9 MB, free: 8.672 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.6022/0.6022, allocations: 90.52 MB / 408.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 8 kB / 484.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2512, allocations: 65.8 MB / 0.5377 GB, free: 34.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01573/0.267, allocations: 22.29 MB / 0.5595 GB, free: 16.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.2739, allocations: 9.313 MB / 0.5686 GB, free: 7.285 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.2746, allocations: 11.94 kB / 0.5686 GB, free: 7.273 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.2754, allocations: 346.2 kB / 0.569 GB, free: 6.934 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.277, allocations: 0.6835 MB / 0.5696 GB, free: 6.246 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.2778, allocations: 418.7 kB / 0.57 GB, free: 5.836 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.2786, allocations: 1.155 MB / 0.5711 GB, free: 4.676 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.2788, allocations: 199.8 kB / 0.5713 GB, free: 4.469 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.2792, allocations: 354.4 kB / 0.5717 GB, free: 4.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2795, allocations: 378.1 kB / 0.572 GB, free: 3.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.2796, allocations: 28 kB / 0.5721 GB, free: 3.723 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009669/0.2806, allocations: 0.4994 MB / 0.5726 GB, free: 3.223 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.2807, allocations: 111.4 kB / 0.5727 GB, free: 3.113 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2809, allocations: 361.9 kB / 0.573 GB, free: 2.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.2814, allocations: 0.7676 MB / 0.5738 GB, free: 1.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2814, allocations: 0 / 0.5738 GB, free: 1.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2815, allocations: 0 / 0.5738 GB, free: 1.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2815, allocations: 0 / 0.5738 GB, free: 1.988 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.001345/0.2828, allocations: 0.9935 MB / 0.5747 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.2829, allocations: 8.031 kB / 0.5747 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.283, allocations: 87.91 kB / 0.5748 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.2835, allocations: 461.4 kB / 0.5753 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.2835, allocations: 49.69 kB / 0.5753 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.2836, allocations: 64.31 kB / 0.5754 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.2845, allocations: 0.6646 MB / 0.576 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.2845, allocations: 0 / 0.576 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.2846, allocations: 28 kB / 0.576 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.2846, allocations: 12 kB / 0.5761 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009144/0.2855, allocations: 0.6414 MB / 0.5767 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.2886, allocations: 2.998 MB / 0.5796 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2897, allocations: 0.7312 MB / 0.5803 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.2901, allocations: 300.5 kB / 0.5806 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.2919, allocations: 1.916 MB / 0.5825 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.292, allocations: 43.12 kB / 0.5825 GB, free: 8.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=68): time 2.174e-06/0.292, allocations: 3.938 kB / 0.5825 GB, free: 8.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.009003/0.301, allocations: 2.459 MB / 0.5849 GB, free: 5.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3011, allocations: 81.67 kB / 0.585 GB, free: 5.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.3015, allocations: 430.1 kB / 0.5854 GB, free: 5.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3015, allocations: 37.7 kB / 0.5854 GB, free: 5.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3017, allocations: 316.3 kB / 0.5857 GB, free: 4.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.3019, allocations: 240.5 kB / 0.586 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3019, allocations: 16 kB / 0.586 GB, free: 4.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.302, allocations: 370.7 kB / 0.5863 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3024, allocations: 217.9 kB / 0.5866 GB, free: 4.117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.3028, allocations: 314.3 kB / 0.5869 GB, free: 3.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.3036, allocations: 0.5627 MB / 0.5874 GB, free: 3.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3036, allocations: 0 / 0.5874 GB, free: 3.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004596/0.3082, allocations: 1.377 MB / 0.5887 GB, free: 1.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3082, allocations: 4 kB / 0.5888 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.3083, allocations: 4 kB / 0.5888 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004636/0.3129, allocations: 0.9351 MB / 0.5897 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.3133, allocations: 99.89 kB / 0.5898 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.3155, allocations: 2.846 MB / 0.5925 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.3159, allocations: 67.42 kB / 0.5926 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.316, allocations: 31.98 kB / 0.5926 GB, free: 13.61 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.0002984/0.3163, allocations: 187.6 kB / 0.5928 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3164, allocations: 59.25 kB / 0.5929 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.3212, allocations: 1.432 MB / 0.5943 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.3212, allocations: 8 kB / 0.5943 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3212, allocations: 4 kB / 0.5943 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3212, allocations: 3.984 kB / 0.5943 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/0.3267, allocations: 2.161 MB / 0.5964 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3268, allocations: 0 / 0.5964 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.3271, allocations: 79.91 kB / 0.5965 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004545/0.3316, allocations: 0.943 MB / 0.5974 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.3317, allocations: 20 kB / 0.5974 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.3338, allocations: 2.827 MB / 0.6002 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3338, allocations: 0 / 0.6002 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/0.339, allocations: 1.824 MB / 0.602 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.3393, allocations: 208.2 kB / 0.6022 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.3394, allocations: 16 kB / 0.6022 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.3397, allocations: 35.83 kB / 0.6022 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.3398, allocations: 48.5 kB / 0.6022 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.3399, allocations: 19.98 kB / 0.6023 GB, free: 3.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3401, allocations: 294.9 kB / 0.6025 GB, free: 3.133 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3401, allocations: 0 / 0.6025 GB, free: 3.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007526/0.3409, allocations: 287.6 kB / 0.6028 GB, free: 2.852 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.0004912/0.3414, allocations: 408.9 kB / 0.6032 GB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3426, allocations: 0.734 MB / 0.6039 GB, free: 1.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3426, allocations: 4 kB / 0.6039 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.3433, allocations: 466.4 kB / 0.6044 GB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.3443, allocations: 178 kB / 0.6045 GB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3464, allocations: 1.686 MB / 0.6062 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3468, allocations: 0.9105 MB / 0.6071 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.347, allocations: 55.42 kB / 0.6071 GB, free: 14.34 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.347, allocations: 0 / 0.6071 GB, free: 14.34 MB / 442.7 MB Notification: Performance of Templates: time 0.01965/0.3666, allocations: 19.11 MB / 0.6258 GB, free: 11.26 MB / 458.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