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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0008448/0.000845, allocations: 175.9 kB / 16.12 MB, free: 5.668 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.313/1.313, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007414/0.0007414, allocations: 93 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6407/0.6407, allocations: 89.62 MB / 408.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 15.98 kB / 485.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 66 MB / 0.5383 GB, free: 34.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.544/0.8347, allocations: 354 MB / 0.884 GB, free: 6.984 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.835, allocations: 88.27 kB / 0.8841 GB, free: 6.941 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4631/1.298, allocations: 131.5 MB / 1.012 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.264e-06/1.298, allocations: 0 / 1.012 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.188e-05/1.298, allocations: 23.98 kB / 1.012 GB, free: 145.4 MB / 0.5886 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.001987/1.3, allocations: 1.072 MB / 1.014 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/1.3, allocations: 8.031 kB / 1.014 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/1.3, allocations: 95.89 kB / 1.014 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/1.301, allocations: 469.3 kB / 1.014 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.301, allocations: 45.69 kB / 1.014 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/1.301, allocations: 60.38 kB / 1.014 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/1.302, allocations: 0.6688 MB / 1.015 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.302, allocations: 3.938 kB / 1.015 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/1.302, allocations: 28 kB / 1.015 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/1.302, allocations: 16 kB / 1.015 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/1.303, allocations: 0.6258 MB / 1.015 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/1.306, allocations: 2.982 MB / 1.018 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/1.307, allocations: 0.7364 MB / 1.019 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/1.307, allocations: 303.2 kB / 1.019 GB, free: 137.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/1.308, allocations: 0.681 MB / 1.02 GB, free: 137 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/1.308, allocations: 35.12 kB / 1.02 GB, free: 137 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/1.308, allocations: 4 kB / 1.02 GB, free: 137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.009474/1.317, allocations: 2.784 MB / 1.023 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.317, allocations: 85.67 kB / 1.023 GB, free: 134 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/1.318, allocations: 410 kB / 1.023 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/1.318, allocations: 41.7 kB / 1.023 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/1.318, allocations: 316.2 kB / 1.024 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.318, allocations: 244.5 kB / 1.024 GB, free: 133 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/1.318, allocations: 16 kB / 1.024 GB, free: 133 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/1.318, allocations: 370.8 kB / 1.024 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/1.318, allocations: 221.9 kB / 1.024 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/1.319, allocations: 317.4 kB / 1.025 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/1.319, allocations: 0.5502 MB / 1.025 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.319, allocations: 0 / 1.025 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004118/1.324, allocations: 1.389 MB / 1.027 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.324, allocations: 16 kB / 1.027 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.324, allocations: 3.984 kB / 1.027 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004114/1.328, allocations: 0.9118 MB / 1.028 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/1.328, allocations: 99.83 kB / 1.028 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.33, allocations: 2.815 MB / 1.03 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/1.33, allocations: 71.55 kB / 1.03 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/1.33, allocations: 27.98 kB / 1.031 GB, free: 126 MB / 0.5886 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 () * 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 (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.0002872/1.331, allocations: 189.5 kB / 1.031 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.331, allocations: 63.25 kB / 1.031 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/1.335, allocations: 1.427 MB / 1.032 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.335, allocations: 8 kB / 1.032 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.335, allocations: 7.938 kB / 1.032 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/1.335, allocations: 7.969 kB / 1.032 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/1.34, allocations: 2.137 MB / 1.034 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.34, allocations: 3.938 kB / 1.034 GB, free: 122 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/1.34, allocations: 87.83 kB / 1.034 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003962/1.344, allocations: 0.9156 MB / 1.035 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.345, allocations: 23.98 kB / 1.035 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/1.346, allocations: 2.827 MB / 1.038 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.346, allocations: 0 / 1.038 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004605/1.351, allocations: 1.84 MB / 1.04 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.351, allocations: 140.2 kB / 1.04 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/1.351, allocations: 12 kB / 1.04 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/1.351, allocations: 43.89 kB / 1.04 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/1.351, allocations: 44.5 kB / 1.04 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/1.352, allocations: 23.98 kB / 1.04 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002556/1.352, allocations: 286.9 kB / 1.04 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/1.352, allocations: 0 / 1.04 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008709/1.353, allocations: 311.4 kB / 1.041 GB, free: 115.2 MB / 0.5886 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 () * 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 (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.0006877/1.353, allocations: 0.5275 MB / 1.041 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.355, allocations: 0.7708 MB / 1.042 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.355, allocations: 448 / 1.042 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/1.355, allocations: 495.6 kB / 1.042 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/1.356, allocations: 173.8 kB / 1.043 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/1.358, allocations: 1.735 MB / 1.044 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.358, allocations: 0.9068 MB / 1.045 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003212/1.359, allocations: 88.5 kB / 1.045 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/1.359, allocations: 47.42 kB / 1.045 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/1.359, allocations: 0 / 1.045 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.01985/1.379, allocations: 15.49 MB / 1.06 GB, free: 95.07 MB / 0.5886 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