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.00789/0.007891, allocations: 170 kB / 15.12 MB, free: 5.559 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.562/1.562, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008362/0.0008363, allocations: 94.8 kB / 269.6 MB, free: 13.35 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.9533/0.9534, allocations: 90.59 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 485.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4543, allocations: 66.28 MB / 0.5386 GB, free: 45.52 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01898/0.4733, allocations: 19.13 MB / 0.5572 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008062/0.4814, allocations: 7.774 MB / 0.5648 GB, free: 30.97 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008326/0.4823, allocations: 15.34 kB / 0.5649 GB, free: 30.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.4832, allocations: 333.9 kB / 0.5652 GB, free: 30.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.485, allocations: 0.7062 MB / 0.5659 GB, free: 30.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4861, allocations: 379.6 kB / 0.5662 GB, free: 30.08 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009037/0.487, allocations: 0.6912 MB / 0.5669 GB, free: 29.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.4873, allocations: 172.8 kB / 0.5671 GB, free: 29.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.4878, allocations: 327.4 kB / 0.5674 GB, free: 29.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.4882, allocations: 318.8 kB / 0.5677 GB, free: 29.35 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.4883, allocations: 29.41 kB / 0.5677 GB, free: 29.35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.4899, allocations: 0.5041 MB / 0.5682 GB, free: 29.26 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.49, allocations: 108 kB / 0.5683 GB, free: 29.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.4901, allocations: 165.2 kB / 0.5685 GB, free: 29.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.4912, allocations: 0.7138 MB / 0.5692 GB, free: 28.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4912, allocations: 0 / 0.5692 GB, free: 28.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4912, allocations: 5.625 kB / 0.5692 GB, free: 28.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4912, allocations: 0 / 0.5692 GB, free: 28.88 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.001953/0.4932, allocations: 1.004 MB / 0.5701 GB, free: 28.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4932, allocations: 9.875 kB / 0.5702 GB, free: 28.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.4935, allocations: 88.95 kB / 0.5702 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.4942, allocations: 438.8 kB / 0.5707 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.4942, allocations: 49.73 kB / 0.5707 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.4943, allocations: 62 kB / 0.5708 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.4955, allocations: 0.6661 MB / 0.5714 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4955, allocations: 1 kB / 0.5714 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.4956, allocations: 21.97 kB / 0.5714 GB, free: 27.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4956, allocations: 19.41 kB / 0.5715 GB, free: 27.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4967, allocations: 0.6252 MB / 0.5721 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.5001, allocations: 3.044 MB / 0.575 GB, free: 24.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.5012, allocations: 0.7302 MB / 0.5758 GB, free: 24.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.5032, allocations: 1.947 MB / 0.5777 GB, free: 22.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5032, allocations: 48.42 kB / 0.5777 GB, free: 22.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 2.795e-06/0.5032, allocations: 1.469 kB / 0.5777 GB, free: 22.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.01023/0.5135, allocations: 2.519 MB / 0.5802 GB, free: 21.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5136, allocations: 89.89 kB / 0.5802 GB, free: 21.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/0.5144, allocations: 427.2 kB / 0.5807 GB, free: 21.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.5145, allocations: 41.17 kB / 0.5807 GB, free: 21.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5147, allocations: 314.4 kB / 0.581 GB, free: 21.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.5149, allocations: 233 kB / 0.5812 GB, free: 21.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.515, allocations: 14.84 kB / 0.5812 GB, free: 21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5151, allocations: 370.4 kB / 0.5816 GB, free: 20.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.5157, allocations: 215.2 kB / 0.5818 GB, free: 20.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.5163, allocations: 310.4 kB / 0.5821 GB, free: 20.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.5169, allocations: 248.2 kB / 0.5823 GB, free: 20.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5169, allocations: 1.375 kB / 0.5823 GB, free: 20.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.006597/0.5235, allocations: 1.378 MB / 0.5837 GB, free: 19.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.5235, allocations: 6.797 kB / 0.5837 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5236, allocations: 3 kB / 0.5837 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/0.5295, allocations: 0.9287 MB / 0.5846 GB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.53, allocations: 98.59 kB / 0.5847 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.5322, allocations: 2.841 MB / 0.5875 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.5329, allocations: 70.56 kB / 0.5875 GB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.5331, allocations: 28.95 kB / 0.5875 GB, free: 17.05 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.0003612/0.5334, allocations: 198.1 kB / 0.5877 GB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5336, allocations: 65.17 kB / 0.5878 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005381/0.539, allocations: 1.434 MB / 0.5892 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5391, allocations: 8.297 kB / 0.5892 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5391, allocations: 1.062 kB / 0.5892 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.5391, allocations: 7.859 kB / 0.5892 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006687/0.5458, allocations: 2.173 MB / 0.5913 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.5459, allocations: 2.078 kB / 0.5913 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.5463, allocations: 88.05 kB / 0.5914 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00528/0.5516, allocations: 0.9304 MB / 0.5923 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/0.5517, allocations: 17.89 kB / 0.5923 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.5539, allocations: 2.839 MB / 0.5951 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5539, allocations: 1 kB / 0.5951 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006158/0.5601, allocations: 1.841 MB / 0.5969 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.5607, allocations: 209.6 kB / 0.5971 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.5609, allocations: 19.83 kB / 0.5971 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007504/0.5617, allocations: 36.84 kB / 0.5972 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5618, allocations: 44.88 kB / 0.5972 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.562, allocations: 23.42 kB / 0.5972 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006741/0.5626, allocations: 291.5 kB / 0.5975 GB, free: 11.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5627, allocations: 0 / 0.5975 GB, free: 11.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001979/0.5646, allocations: 294.8 kB / 0.5978 GB, free: 11.3 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.001167/0.5658, allocations: 399.9 kB / 0.5982 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.568, allocations: 0.7322 MB / 0.5989 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.568, allocations: 0 / 0.5989 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.5691, allocations: 471.3 kB / 0.5993 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.5706, allocations: 164.8 kB / 0.5995 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.5744, allocations: 1.727 MB / 0.6012 GB, free: 9.133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007077/0.5752, allocations: 0.9227 MB / 0.6021 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006679/0.5758, allocations: 93.66 kB / 0.6022 GB, free: 8.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5761, allocations: 48.42 kB / 0.6022 GB, free: 8.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5761, allocations: 0 / 0.6022 GB, free: 8.277 MB / 426.7 MB Notification: Performance of Templates: time 0.02975/0.6058, allocations: 13.98 MB / 0.6159 GB, free: 11.59 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