Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6779/0.6779, allocations: 89.61 MB / 380.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 10.44 kB / 459.9 MB, free: 24.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 68.82 MB / 0.5163 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.0153/0.1422, allocations: 14.6 MB / 0.5306 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00643/0.1487, allocations: 5.591 MB / 0.536 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005226/0.1492, allocations: 11.94 kB / 0.5361 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.1499, allocations: 238.8 kB / 0.5363 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.151, allocations: 498.4 kB / 0.5368 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.1517, allocations: 291.2 kB / 0.537 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.1523, allocations: 498.9 kB / 0.5375 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.1525, allocations: 123.2 kB / 0.5376 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.1529, allocations: 239.1 kB / 0.5379 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1532, allocations: 219 kB / 0.5381 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.1532, allocations: 20 kB / 0.5381 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.154, allocations: 347.7 kB / 0.5384 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1541, allocations: 75.61 kB / 0.5385 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.1542, allocations: 121.5 kB / 0.5386 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.1547, allocations: 499 kB / 0.5391 GB, free: 4.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1547, allocations: 7.938 kB / 0.5391 GB, free: 4.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1548, allocations: 4 kB / 0.5391 GB, free: 4.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1548, allocations: 0 / 0.5391 GB, free: 4.453 MB / 414.1 MB 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.001326/0.1561, allocations: 0.7947 MB / 0.5399 GB, free: 3.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1561, allocations: 8.031 kB / 0.5399 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1563, allocations: 63.25 kB / 0.5399 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.1568, allocations: 376.9 kB / 0.5403 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.1568, allocations: 29 kB / 0.5403 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.1569, allocations: 40 kB / 0.5404 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.1575, allocations: 455.9 kB / 0.5408 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1576, allocations: 3.938 kB / 0.5408 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.1576, allocations: 16 kB / 0.5408 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1576, allocations: 11.95 kB / 0.5408 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.1582, allocations: 407.8 kB / 0.5412 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.1606, allocations: 2.076 MB / 0.5432 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.1612, allocations: 403 kB / 0.5436 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.1627, allocations: 1.435 MB / 0.545 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1628, allocations: 34.89 kB / 0.5451 GB, free: 13.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.1628, allocations: 0 / 0.5451 GB, free: 13.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005433/0.1682, allocations: 1.436 MB / 0.5465 GB, free: 12.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1683, allocations: 89.03 kB / 0.5465 GB, free: 12.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.1687, allocations: 365.7 kB / 0.5469 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1687, allocations: 41.72 kB / 0.5469 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1689, allocations: 248.3 kB / 0.5472 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.169, allocations: 145.9 kB / 0.5473 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.169, allocations: 4 kB / 0.5473 GB, free: 11.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1692, allocations: 362.7 kB / 0.5477 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.1694, allocations: 124.8 kB / 0.5478 GB, free: 10.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.1697, allocations: 185.8 kB / 0.548 GB, free: 10.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.1699, allocations: 149.5 kB / 0.5481 GB, free: 10.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1699, allocations: 0 / 0.5481 GB, free: 10.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002513/0.1725, allocations: 0.7843 MB / 0.5489 GB, free: 9.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1725, allocations: 4 kB / 0.5489 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1725, allocations: 4 kB / 0.5489 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.175, allocations: 493.2 kB / 0.5493 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.1753, allocations: 63.91 kB / 0.5494 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.1769, allocations: 2.098 MB / 0.5515 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.1772, allocations: 51.69 kB / 0.5515 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.1773, allocations: 19.94 kB / 0.5515 GB, free: 6.926 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002251/0.1775, allocations: 157.8 kB / 0.5517 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.1776, allocations: 47.42 kB / 0.5517 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.1804, allocations: 0.865 MB / 0.5526 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1804, allocations: 4 kB / 0.5526 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1805, allocations: 4 kB / 0.5526 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1805, allocations: 0 / 0.5526 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.1837, allocations: 1.351 MB / 0.5539 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1837, allocations: 4 kB / 0.5539 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.184, allocations: 47.91 kB / 0.5539 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002474/0.1864, allocations: 497.3 kB / 0.5544 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1865, allocations: 12 kB / 0.5544 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.1881, allocations: 2.102 MB / 0.5565 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1881, allocations: 3.938 kB / 0.5565 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.191, allocations: 1.111 MB / 0.5576 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.1912, allocations: 168.4 kB / 0.5577 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.1913, allocations: 12 kB / 0.5577 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.1916, allocations: 23.98 kB / 0.5578 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.1916, allocations: 27.98 kB / 0.5578 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.1917, allocations: 15.98 kB / 0.5578 GB, free: 164 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.192, allocations: 271.2 kB / 0.5581 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.775e-06/0.192, allocations: 0 / 0.5581 GB, free: 15.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006502/0.1926, allocations: 195.6 kB / 0.5582 GB, free: 15.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003977/0.1931, allocations: 299.6 kB / 0.5585 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008239/0.1939, allocations: 485.8 kB / 0.559 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1939, allocations: 320 / 0.559 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.1943, allocations: 306.5 kB / 0.5593 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.1951, allocations: 134.1 kB / 0.5594 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1968, allocations: 1.283 MB / 0.5607 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1972, allocations: 0.8475 MB / 0.5615 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.1974, allocations: 66.36 kB / 0.5616 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.1975, allocations: 35.42 kB / 0.5616 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1975, allocations: 4 kB / 0.5616 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Templates: time 0.01556/0.2131, allocations: 9.423 MB / 0.5708 GB, free: 2.844 MB / 446.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches