Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_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.00118/0.00118, allocations: 178.4 kB / 7.65 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.495/1.495, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0009221/0.0009221, allocations: 99.44 kB / 261.4 MB, free: 13.43 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.7642/0.7642, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.531e-05, allocations: 7.922 kB / 472.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3743, allocations: 66.26 MB / 0.5258 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.648/1.022, allocations: 353.1 MB / 0.8707 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.023, allocations: 74.2 kB / 0.8708 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5124/1.535, allocations: 96.9 MB / 0.9654 GB, free: 175.3 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.463e-06/1.535, allocations: 0 / 0.9654 GB, free: 175.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.422e-05/1.535, allocations: 14.61 kB / 0.9654 GB, free: 175.3 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001787/1.537, allocations: 0.7841 MB / 0.9662 GB, free: 174.6 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.537, allocations: 11.19 kB / 0.9662 GB, free: 174.6 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/1.537, allocations: 62.91 kB / 0.9662 GB, free: 174.6 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/1.538, allocations: 349.6 kB / 0.9666 GB, free: 174.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/1.538, allocations: 17.81 kB / 0.9666 GB, free: 174.3 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/1.538, allocations: 30.14 kB / 0.9666 GB, free: 174.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006198/1.539, allocations: 359 kB / 0.967 GB, free: 174.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/1.539, allocations: 391.8 kB / 0.9673 GB, free: 173.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.539, allocations: 3.953 kB / 0.9673 GB, free: 173.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/1.54, allocations: 0 / 0.9673 GB, free: 173.9 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.54, allocations: 15.67 kB / 0.9674 GB, free: 173.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/1.542, allocations: 1.965 MB / 0.9693 GB, free: 172.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/1.542, allocations: 458.1 kB / 0.9697 GB, free: 171.8 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/1.543, allocations: 177.8 kB / 0.9699 GB, free: 171.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/1.543, allocations: 433 kB / 0.9703 GB, free: 171.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.543, allocations: 42.09 kB / 0.9703 GB, free: 171.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/1.543, allocations: 0 / 0.9703 GB, free: 171.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=44): time 0.002891/1.546, allocations: 0.7215 MB / 0.971 GB, free: 170.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.546, allocations: 84.81 kB / 0.9711 GB, free: 170.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/1.546, allocations: 252 kB / 0.9714 GB, free: 170.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/1.546, allocations: 25.7 kB / 0.9714 GB, free: 170.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.546, allocations: 242.2 kB / 0.9716 GB, free: 170.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/1.546, allocations: 138.2 kB / 0.9717 GB, free: 170.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/1.546, allocations: 0 / 0.9717 GB, free: 170.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.322e-05/1.547, allocations: 353.8 kB / 0.9721 GB, free: 169.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.547, allocations: 129.7 kB / 0.9722 GB, free: 169.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/1.547, allocations: 173.7 kB / 0.9724 GB, free: 169.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/1.547, allocations: 136.7 kB / 0.9725 GB, free: 169.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.547, allocations: 0 / 0.9725 GB, free: 169.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002689/1.55, allocations: 0.7526 MB / 0.9732 GB, free: 169.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.55, allocations: 4.781 kB / 0.9732 GB, free: 169.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.55, allocations: 7.984 kB / 0.9732 GB, free: 169.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/1.553, allocations: 477.3 kB / 0.9737 GB, free: 168.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/1.553, allocations: 67.84 kB / 0.9738 GB, free: 168.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/1.554, allocations: 2.055 MB / 0.9758 GB, free: 166.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/1.555, allocations: 31.72 kB / 0.9758 GB, free: 166.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.555, allocations: 15.98 kB / 0.9758 GB, free: 166.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.555, allocations: 117.3 kB / 0.9759 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/1.555, allocations: 43.48 kB / 0.976 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/1.558, allocations: 0.7913 MB / 0.9767 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.558, allocations: 8 kB / 0.9768 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.558, allocations: 7.953 kB / 0.9768 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.558, allocations: 0 / 0.9768 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/1.561, allocations: 1.291 MB / 0.978 GB, free: 164 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.561, allocations: 0 / 0.978 GB, free: 164 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/1.561, allocations: 55.95 kB / 0.9781 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/1.564, allocations: 481.3 kB / 0.9785 GB, free: 163.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/1.564, allocations: 7.984 kB / 0.9785 GB, free: 163.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/1.565, allocations: 2.043 MB / 0.9805 GB, free: 161.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.565, allocations: 3.938 kB / 0.9805 GB, free: 161.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/1.568, allocations: 1.122 MB / 0.9816 GB, free: 160.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/1.568, allocations: 124.6 kB / 0.9818 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/1.568, allocations: 4 kB / 0.9818 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.568, allocations: 23.98 kB / 0.9818 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/1.569, allocations: 31.95 kB / 0.9818 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/1.569, allocations: 12 kB / 0.9818 GB, free: 159.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001613/1.569, allocations: 196.6 kB / 0.982 GB, free: 159.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.569, allocations: 0 / 0.982 GB, free: 159.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000672/1.569, allocations: 195.6 kB / 0.9822 GB, free: 159.5 MB / 0.573 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005856/1.57, allocations: 403.1 kB / 0.9826 GB, free: 159.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007468/1.571, allocations: 494.8 kB / 0.9831 GB, free: 158.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.571, allocations: 0 / 0.9831 GB, free: 158.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/1.571, allocations: 363.2 kB / 0.9834 GB, free: 158.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/1.572, allocations: 102.2 kB / 0.9835 GB, free: 158.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.573, allocations: 0.6489 MB / 0.9841 GB, free: 157.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/1.573, allocations: 0.8434 MB / 0.985 GB, free: 156.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002441/1.574, allocations: 59.06 kB / 0.985 GB, free: 156.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/1.574, allocations: 31.42 kB / 0.985 GB, free: 156.5 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/1.574, allocations: 0 / 0.985 GB, free: 156.5 MB / 0.573 GB Notification: Performance of Templates: time 0.01333/1.587, allocations: 8.965 MB / 0.9938 GB, free: 147.6 MB / 0.573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches