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.001264/0.001265, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.513/1.513, allocations: 205.2 MB / 218.5 MB, free: 9.145 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.000804/0.0008041, allocations: 90.16 kB / 266.6 MB, free: 9.258 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.7794/0.7794, allocations: 90.35 MB / 405 MB, free: 8.629 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.079e-05, allocations: 7.938 kB / 479.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3757, allocations: 66.26 MB / 0.5326 GB, free: 28.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7332/1.109, allocations: 353.8 MB / 0.8781 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.109, allocations: 75.64 kB / 0.8782 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5445/1.654, allocations: 97.37 MB / 0.9733 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/1.654, allocations: 0 / 0.9733 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.677e-05/1.654, allocations: 14.81 kB / 0.9733 GB, free: 192.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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00183/1.656, allocations: 0.7823 MB / 0.9741 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.656, allocations: 10.97 kB / 0.9741 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/1.656, allocations: 64.48 kB / 0.9741 GB, free: 191.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/1.657, allocations: 355.1 kB / 0.9745 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/1.657, allocations: 29.19 kB / 0.9745 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.657, allocations: 47.56 kB / 0.9746 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/1.658, allocations: 440.9 kB / 0.975 GB, free: 191.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.658, allocations: 0 / 0.975 GB, free: 191.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/1.658, allocations: 19.33 kB / 0.975 GB, free: 191.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/1.658, allocations: 7.5 kB / 0.975 GB, free: 191.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/1.659, allocations: 396.2 kB / 0.9754 GB, free: 190.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/1.661, allocations: 2.061 MB / 0.9774 GB, free: 189 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/1.662, allocations: 465.1 kB / 0.9778 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/1.662, allocations: 195.9 kB / 0.978 GB, free: 188.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/1.662, allocations: 437.8 kB / 0.9784 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/1.662, allocations: 34.47 kB / 0.9785 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/1.662, allocations: 0 / 0.9785 GB, free: 188.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.002645/1.665, allocations: 0.7378 MB / 0.9792 GB, free: 187.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.665, allocations: 88.98 kB / 0.9793 GB, free: 187.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/1.665, allocations: 283.5 kB / 0.9796 GB, free: 187.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/1.665, allocations: 29.7 kB / 0.9796 GB, free: 187.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.666, allocations: 232.1 kB / 0.9798 GB, free: 187.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.666, allocations: 153.5 kB / 0.98 GB, free: 187.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/1.666, allocations: 8 kB / 0.98 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.666, allocations: 348.9 kB / 0.9803 GB, free: 186.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.666, allocations: 129.4 kB / 0.9804 GB, free: 186.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/1.666, allocations: 186.1 kB / 0.9806 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/1.667, allocations: 160 kB / 0.9807 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.667, allocations: 7.859 kB / 0.9808 GB, free: 186.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002543/1.669, allocations: 0.7914 MB / 0.9815 GB, free: 186.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.669, allocations: 9.656 kB / 0.9815 GB, free: 186.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.669, allocations: 3.953 kB / 0.9815 GB, free: 186.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/1.672, allocations: 479.2 kB / 0.982 GB, free: 186 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.672, allocations: 65.88 kB / 0.9821 GB, free: 186 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/1.673, allocations: 2.081 MB / 0.9841 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/1.674, allocations: 46.89 kB / 0.9841 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/1.674, allocations: 19.08 kB / 0.9842 GB, free: 183.9 MB / 0.5886 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.0001522/1.674, allocations: 128.9 kB / 0.9843 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/1.674, allocations: 42.03 kB / 0.9843 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/1.677, allocations: 0.8351 MB / 0.9851 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.677, allocations: 7.75 kB / 0.9851 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.677, allocations: 3.219 kB / 0.9851 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.677, allocations: 3.984 kB / 0.9851 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/1.681, allocations: 1.386 MB / 0.9865 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.681, allocations: 0 / 0.9865 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/1.681, allocations: 60.97 kB / 0.9866 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/1.684, allocations: 487.5 kB / 0.987 GB, free: 182.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/1.684, allocations: 15.31 kB / 0.987 GB, free: 182.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.686, allocations: 2.081 MB / 0.9891 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.686, allocations: 3.938 kB / 0.9891 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.689, allocations: 1.186 MB / 0.9902 GB, free: 179 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/1.689, allocations: 112.6 kB / 0.9903 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/1.689, allocations: 12 kB / 0.9904 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.689, allocations: 27.89 kB / 0.9904 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.689, allocations: 31.95 kB / 0.9904 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/1.689, allocations: 15.98 kB / 0.9904 GB, free: 178.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002719/1.69, allocations: 222.2 kB / 0.9906 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/1.69, allocations: 0 / 0.9906 GB, free: 178.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001012/1.691, allocations: 203.7 kB / 0.9908 GB, free: 178.3 MB / 0.5886 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.0007641/1.692, allocations: 404 kB / 0.9912 GB, free: 177.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000933/1.692, allocations: 0.5117 MB / 0.9917 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.692, allocations: 0 / 0.9917 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004561/1.693, allocations: 372.1 kB / 0.9921 GB, free: 177 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/1.694, allocations: 120 kB / 0.9922 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/1.695, allocations: 0.6746 MB / 0.9928 GB, free: 176.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.695, allocations: 0.8398 MB / 0.9937 GB, free: 175.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002554/1.696, allocations: 51.09 kB / 0.9937 GB, free: 175.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/1.696, allocations: 39.42 kB / 0.9937 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/1.696, allocations: 0 / 0.9937 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.01687/1.712, allocations: 10.61 MB / 1.004 GB, free: 164.7 MB / 0.5886 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