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.0009946/0.0009945, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008343/0.0008343, allocations: 91.3 kB / 261.4 MB, free: 13.44 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.7126/0.7126, allocations: 90.36 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.228e-05, allocations: 4 kB / 472.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3393, allocations: 66.25 MB / 0.5258 GB, free: 29.07 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6791/1.018, allocations: 353.3 MB / 0.8709 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.019, allocations: 79.08 kB / 0.871 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5465/1.565, allocations: 131.1 MB / 0.999 GB, free: 143.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.994e-06/1.565, allocations: 0 / 0.999 GB, free: 143.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.222e-05/1.565, allocations: 23.98 kB / 0.999 GB, free: 143.1 MB / 0.573 GB 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.001686/1.567, allocations: 1.009 MB / 1 GB, free: 142.1 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.567, allocations: 12.03 kB / 1 GB, free: 142.1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/1.567, allocations: 90.97 kB / 1 GB, free: 142 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/1.568, allocations: 450.7 kB / 1.001 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.568, allocations: 20 kB / 1.001 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/1.568, allocations: 36 kB / 1.001 GB, free: 141.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007361/1.569, allocations: 0.561 MB / 1.001 GB, free: 140.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/1.57, allocations: 0.5642 MB / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/1.57, allocations: 4 kB / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/1.57, allocations: 3.984 kB / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.57, allocations: 16 kB / 1.002 GB, free: 140.3 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/1.572, allocations: 2.894 MB / 1.005 GB, free: 137.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/1.573, allocations: 0.6886 MB / 1.005 GB, free: 136.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/1.573, allocations: 267.4 kB / 1.005 GB, free: 136.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/1.574, allocations: 0.6771 MB / 1.006 GB, free: 135.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.574, allocations: 47.06 kB / 1.006 GB, free: 135.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 2.204e-06/1.574, allocations: 0 / 1.006 GB, free: 135.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.004881/1.579, allocations: 1.234 MB / 1.007 GB, free: 134 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.579, allocations: 89.67 kB / 1.007 GB, free: 133.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/1.579, allocations: 321.3 kB / 1.008 GB, free: 133.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/1.579, allocations: 25.7 kB / 1.008 GB, free: 133.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.579, allocations: 316.3 kB / 1.008 GB, free: 133.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.579, allocations: 232.5 kB / 1.008 GB, free: 133 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/1.579, allocations: 0 / 1.008 GB, free: 133 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/1.579, allocations: 366.8 kB / 1.009 GB, free: 132.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/1.58, allocations: 197.5 kB / 1.009 GB, free: 132.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/1.58, allocations: 281.8 kB / 1.009 GB, free: 132.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/1.581, allocations: 224.4 kB / 1.009 GB, free: 131.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.581, allocations: 4 kB / 1.009 GB, free: 131.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004669/1.585, allocations: 1.302 MB / 1.011 GB, free: 130.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.585, allocations: 11.95 kB / 1.011 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.585, allocations: 0 / 1.011 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004597/1.59, allocations: 0.9079 MB / 1.012 GB, free: 129.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/1.59, allocations: 91.89 kB / 1.012 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.592, allocations: 2.794 MB / 1.014 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/1.593, allocations: 59.34 kB / 1.014 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/1.593, allocations: 36.05 kB / 1.014 GB, free: 126.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.593, allocations: 112.8 kB / 1.015 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/1.593, allocations: 55.34 kB / 1.015 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.598, allocations: 1.359 MB / 1.016 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.598, allocations: 11.94 kB / 1.016 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.598, allocations: 4.188 kB / 1.016 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.598, allocations: 7.938 kB / 1.016 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/1.603, allocations: 2.003 MB / 1.018 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.603, allocations: 8.031 kB / 1.018 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/1.604, allocations: 79.89 kB / 1.018 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004488/1.608, allocations: 0.9078 MB / 1.019 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/1.608, allocations: 11.98 kB / 1.019 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/1.61, allocations: 2.802 MB / 1.022 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.61, allocations: 0 / 1.022 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/1.615, allocations: 1.766 MB / 1.023 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/1.615, allocations: 136.2 kB / 1.023 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/1.615, allocations: 12.17 kB / 1.023 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/1.616, allocations: 31.83 kB / 1.024 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/1.616, allocations: 40.5 kB / 1.024 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/1.616, allocations: 23.98 kB / 1.024 GB, free: 116.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002168/1.616, allocations: 251 kB / 1.024 GB, free: 116.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.616, allocations: 4 kB / 1.024 GB, free: 116.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008131/1.617, allocations: 299.4 kB / 1.024 GB, free: 116.3 MB / 0.573 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006364/1.617, allocations: 0.5191 MB / 1.025 GB, free: 115.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009581/1.618, allocations: 0.6996 MB / 1.025 GB, free: 115.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.618, allocations: 448 / 1.025 GB, free: 115.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/1.619, allocations: 469.6 kB / 1.026 GB, free: 114.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/1.62, allocations: 150.4 kB / 1.026 GB, free: 114.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/1.621, allocations: 0.9539 MB / 1.027 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/1.621, allocations: 0.927 MB / 1.028 GB, free: 112.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002664/1.622, allocations: 80.44 kB / 1.028 GB, free: 112.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/1.622, allocations: 47.42 kB / 1.028 GB, free: 112.4 MB / 0.573 GB Notification: Performance of SimCode: time 2.4e-07/1.622, allocations: 0 / 1.028 GB, free: 112.4 MB / 0.573 GB Notification: Performance of Templates: time 0.01706/1.639, allocations: 13.64 MB / 1.041 GB, free: 98.87 MB / 0.573 GB 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