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.0009771/0.0009771, allocations: 172.6 kB / 15.77 MB, free: 6.328 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.586/1.586, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.0008725/0.0008724, allocations: 90.3 kB / 270.3 MB, free: 13.29 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.9038/0.9038, allocations: 90.61 MB / 409.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003549, allocations: 11.94 kB / 485.9 MB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4916, allocations: 66.27 MB / 0.5392 GB, free: 45.61 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02089/0.5126, allocations: 20.99 MB / 0.5597 GB, free: 35.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009055/0.5217, allocations: 8.686 MB / 0.5682 GB, free: 28.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.5227, allocations: 18.94 kB / 0.5682 GB, free: 28.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009346/0.5237, allocations: 329.4 kB / 0.5685 GB, free: 28.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.526, allocations: 0.6427 MB / 0.5692 GB, free: 28.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.5273, allocations: 369 kB / 0.5695 GB, free: 28.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.5287, allocations: 1.044 MB / 0.5705 GB, free: 27.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.5291, allocations: 183.2 kB / 0.5707 GB, free: 27.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.5297, allocations: 339.7 kB / 0.571 GB, free: 27.38 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.5302, allocations: 355.8 kB / 0.5714 GB, free: 27.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.5303, allocations: 28.94 kB / 0.5714 GB, free: 27.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5318, allocations: 392.8 kB / 0.5718 GB, free: 27.13 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.532, allocations: 109.8 kB / 0.5719 GB, free: 27.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.5322, allocations: 166.3 kB / 0.572 GB, free: 26.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.5335, allocations: 0.7241 MB / 0.5727 GB, free: 26.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5335, allocations: 1.406 kB / 0.5727 GB, free: 26.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5336, allocations: 0 / 0.5727 GB, free: 26.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.834e-05/0.5336, allocations: 0 / 0.5727 GB, free: 26.74 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.002146/0.5358, allocations: 0.9995 MB / 0.5737 GB, free: 26.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.5358, allocations: 18.06 kB / 0.5737 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.5361, allocations: 89.34 kB / 0.5738 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.5368, allocations: 432.1 kB / 0.5742 GB, free: 25.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.5369, allocations: 55.09 kB / 0.5743 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.537, allocations: 60.53 kB / 0.5743 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.5385, allocations: 0.6628 MB / 0.575 GB, free: 25.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.5385, allocations: 0 / 0.575 GB, free: 25.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.5386, allocations: 25.69 kB / 0.575 GB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.5386, allocations: 17.3 kB / 0.575 GB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.5399, allocations: 0.6294 MB / 0.5756 GB, free: 25.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.5438, allocations: 3 MB / 0.5786 GB, free: 22.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.5452, allocations: 0.737 MB / 0.5793 GB, free: 22.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.5457, allocations: 304.2 kB / 0.5796 GB, free: 22.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/0.5481, allocations: 1.912 MB / 0.5815 GB, free: 20.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5481, allocations: 51.17 kB / 0.5815 GB, free: 20.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 3.036e-06/0.5481, allocations: 1.469 kB / 0.5815 GB, free: 20.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.01103/0.5592, allocations: 2.459 MB / 0.5839 GB, free: 19.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.5593, allocations: 85.16 kB / 0.584 GB, free: 19.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.5599, allocations: 430.5 kB / 0.5844 GB, free: 19.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.56, allocations: 36.89 kB / 0.5844 GB, free: 19.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.5603, allocations: 318.2 kB / 0.5847 GB, free: 19.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.5605, allocations: 232.7 kB / 0.585 GB, free: 18.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.5606, allocations: 19.44 kB / 0.585 GB, free: 18.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5607, allocations: 370.8 kB / 0.5853 GB, free: 18.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.5611, allocations: 222.3 kB / 0.5855 GB, free: 18.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.5616, allocations: 310 kB / 0.5858 GB, free: 18.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.5621, allocations: 253.7 kB / 0.5861 GB, free: 18.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.5622, allocations: 1.062 kB / 0.5861 GB, free: 18.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005474/0.5676, allocations: 1.375 MB / 0.5874 GB, free: 17.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.5677, allocations: 7.375 kB / 0.5874 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5677, allocations: 1.875 kB / 0.5874 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.5732, allocations: 0.9288 MB / 0.5883 GB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.5738, allocations: 103.9 kB / 0.5884 GB, free: 17.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.5764, allocations: 2.817 MB / 0.5912 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007972/0.5772, allocations: 71.17 kB / 0.5913 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.5773, allocations: 27.84 kB / 0.5913 GB, free: 14.92 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.0005737/0.5779, allocations: 199 kB / 0.5915 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.5781, allocations: 60.83 kB / 0.5915 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005929/0.584, allocations: 1.431 MB / 0.5929 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.5841, allocations: 13.48 kB / 0.5929 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5841, allocations: 0 / 0.5929 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.5841, allocations: 7.672 kB / 0.5929 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007348/0.5915, allocations: 2.152 MB / 0.5951 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5915, allocations: 1.156 kB / 0.5951 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.5919, allocations: 82.39 kB / 0.5951 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00522/0.5971, allocations: 0.9296 MB / 0.596 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.5972, allocations: 22.42 kB / 0.5961 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.5997, allocations: 2.831 MB / 0.5988 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5997, allocations: 1.125 kB / 0.5988 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/0.6057, allocations: 1.818 MB / 0.6006 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.6062, allocations: 202.5 kB / 0.6008 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.6063, allocations: 15.44 kB / 0.6008 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.6067, allocations: 26.2 kB / 0.6008 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6068, allocations: 53.56 kB / 0.6009 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.6069, allocations: 23.81 kB / 0.6009 GB, free: 9.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004296/0.6073, allocations: 291.1 kB / 0.6012 GB, free: 8.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6073, allocations: 0 / 0.6012 GB, free: 8.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001446/0.6088, allocations: 299.8 kB / 0.6015 GB, free: 8.82 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.0008001/0.6096, allocations: 404.8 kB / 0.6019 GB, free: 8.613 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.6112, allocations: 0.7283 MB / 0.6026 GB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6112, allocations: 0.5 kB / 0.6026 GB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.612, allocations: 478.7 kB / 0.603 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6132, allocations: 171.1 kB / 0.6032 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.6163, allocations: 1.749 MB / 0.6049 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.6169, allocations: 0.9092 MB / 0.6058 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.6171, allocations: 56.14 kB / 0.6058 GB, free: 5.801 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6171, allocations: 0 / 0.6058 GB, free: 5.801 MB / 426.7 MB Notification: Performance of Templates: time 0.0242/0.6413, allocations: 19.13 MB / 0.6245 GB, free: 3.348 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