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.00519/0.00519, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.312/1.312, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007132/0.000713, allocations: 94.3 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6431/0.6431, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 485.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3186, allocations: 66.28 MB / 0.5386 GB, free: 45.54 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01682/0.3355, allocations: 20.99 MB / 0.5591 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007745/0.3433, allocations: 8.69 MB / 0.5676 GB, free: 28.78 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009684/0.3444, allocations: 17.56 kB / 0.5676 GB, free: 28.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.3453, allocations: 332.6 kB / 0.5679 GB, free: 28.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.347, allocations: 0.6382 MB / 0.5685 GB, free: 28.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3481, allocations: 371.6 kB / 0.5689 GB, free: 27.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.3492, allocations: 1.047 MB / 0.5699 GB, free: 27.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.3495, allocations: 176.6 kB / 0.5701 GB, free: 27.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.3501, allocations: 340.4 kB / 0.5704 GB, free: 27.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.3505, allocations: 355.2 kB / 0.5707 GB, free: 27.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.3506, allocations: 29 kB / 0.5708 GB, free: 27.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.3519, allocations: 394 kB / 0.5711 GB, free: 27.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.352, allocations: 112.4 kB / 0.5713 GB, free: 26.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3522, allocations: 164.8 kB / 0.5714 GB, free: 26.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3532, allocations: 0.7232 MB / 0.5721 GB, free: 26.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3533, allocations: 0 / 0.5721 GB, free: 26.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3533, allocations: 0 / 0.5721 GB, free: 26.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3533, allocations: 0 / 0.5721 GB, free: 26.64 MB / 426.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.001897/0.3552, allocations: 1.008 MB / 0.5731 GB, free: 25.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3552, allocations: 9.75 kB / 0.5731 GB, free: 25.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.3555, allocations: 92.5 kB / 0.5732 GB, free: 25.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.3561, allocations: 435.6 kB / 0.5736 GB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3562, allocations: 54.36 kB / 0.5737 GB, free: 25.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3563, allocations: 59.94 kB / 0.5737 GB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3574, allocations: 0.6582 MB / 0.5744 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3574, allocations: 1.688 kB / 0.5744 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.3575, allocations: 25.23 kB / 0.5744 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3575, allocations: 16.48 kB / 0.5744 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000998/0.3585, allocations: 0.6299 MB / 0.575 GB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.3619, allocations: 2.999 MB / 0.578 GB, free: 22.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3633, allocations: 0.7291 MB / 0.5787 GB, free: 22.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.3638, allocations: 305.3 kB / 0.579 GB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/0.3659, allocations: 1.919 MB / 0.5808 GB, free: 20.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3659, allocations: 45.22 kB / 0.5809 GB, free: 20.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 2.214e-06/0.3659, allocations: 0.9688 kB / 0.5809 GB, free: 20.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.01033/0.3763, allocations: 2.464 MB / 0.5833 GB, free: 19.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3763, allocations: 84.64 kB / 0.5834 GB, free: 19.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.3769, allocations: 431.2 kB / 0.5838 GB, free: 19.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.3769, allocations: 36.48 kB / 0.5838 GB, free: 19.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3771, allocations: 318.8 kB / 0.5841 GB, free: 18.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.3773, allocations: 233 kB / 0.5843 GB, free: 18.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.3773, allocations: 14.69 kB / 0.5843 GB, free: 18.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.3774, allocations: 374.7 kB / 0.5847 GB, free: 18.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.3778, allocations: 218.6 kB / 0.5849 GB, free: 18.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.3782, allocations: 306.7 kB / 0.5852 GB, free: 18.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.3786, allocations: 253.8 kB / 0.5854 GB, free: 18.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3786, allocations: 3.75 kB / 0.5854 GB, free: 18.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005054/0.3837, allocations: 1.376 MB / 0.5868 GB, free: 17.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3838, allocations: 6.469 kB / 0.5868 GB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3838, allocations: 1.5 kB / 0.5868 GB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005201/0.389, allocations: 0.9343 MB / 0.5877 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.3894, allocations: 101.3 kB / 0.5878 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.3914, allocations: 2.828 MB / 0.5906 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.392, allocations: 71.91 kB / 0.5906 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.3921, allocations: 28.69 kB / 0.5907 GB, free: 14.8 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 (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.0003006/0.3924, allocations: 195.2 kB / 0.5909 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3925, allocations: 59.81 kB / 0.5909 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/0.3978, allocations: 1.435 MB / 0.5923 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.3978, allocations: 11.8 kB / 0.5923 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3978, allocations: 2.094 kB / 0.5923 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.3978, allocations: 3.469 kB / 0.5923 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006444/0.4043, allocations: 2.151 MB / 0.5944 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4043, allocations: 1.5 kB / 0.5944 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.4047, allocations: 86.48 kB / 0.5945 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004852/0.4095, allocations: 0.927 MB / 0.5954 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/0.4096, allocations: 19.97 kB / 0.5954 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.4116, allocations: 2.828 MB / 0.5982 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4116, allocations: 1.312 kB / 0.5982 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/0.417, allocations: 1.816 MB / 0.6 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.4174, allocations: 202.5 kB / 0.6002 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4175, allocations: 19.95 kB / 0.6002 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.4179, allocations: 26.05 kB / 0.6002 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.4181, allocations: 49.92 kB / 0.6003 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.4181, allocations: 25.95 kB / 0.6003 GB, free: 8.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003161/0.4184, allocations: 292.1 kB / 0.6006 GB, free: 8.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4184, allocations: 1.031 kB / 0.6006 GB, free: 8.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009969/0.4194, allocations: 294.7 kB / 0.6008 GB, free: 8.719 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 (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.0006222/0.4201, allocations: 402.6 kB / 0.6012 GB, free: 8.512 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.4215, allocations: 0.7282 MB / 0.6019 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4216, allocations: 0.5 kB / 0.6019 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.4223, allocations: 475.6 kB / 0.6024 GB, free: 7.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4234, allocations: 171.5 kB / 0.6026 GB, free: 7.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4255, allocations: 1.716 MB / 0.6042 GB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4258, allocations: 0.9135 MB / 0.6051 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.4262, allocations: 94.72 kB / 0.6052 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.4263, allocations: 52.36 kB / 0.6053 GB, free: 5.699 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/0.4263, allocations: 0 / 0.6053 GB, free: 5.699 MB / 426.7 MB Notification: Performance of Templates: time 0.02171/0.448, allocations: 14.04 MB / 0.619 GB, free: 8.449 MB / 442.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