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 (/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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001205/0.001205, allocations: 195.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5694/0.5694, allocations: 89.52 MB / 379.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 81.62 kB / 457.7 MB, free: 23.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09694, allocations: 67.31 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01514/0.1121, allocations: 17.4 MB / 0.5297 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006393/0.1185, allocations: 6.773 MB / 0.5363 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004549/0.119, allocations: 11.94 kB / 0.5363 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.1197, allocations: 242.7 kB / 0.5365 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.1209, allocations: 453.3 kB / 0.5369 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.1216, allocations: 334.2 kB / 0.5373 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.1224, allocations: 0.8089 MB / 0.5381 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1226, allocations: 121.2 kB / 0.5382 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.123, allocations: 278.8 kB / 0.5384 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1232, allocations: 274.7 kB / 0.5387 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1233, allocations: 28 kB / 0.5387 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.1241, allocations: 335.6 kB / 0.539 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.1242, allocations: 91.55 kB / 0.5391 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.1244, allocations: 262.5 kB / 0.5394 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008504/0.1253, allocations: 0.7242 MB / 0.5401 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1253, allocations: 4 kB / 0.5401 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1253, allocations: 0 / 0.5401 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1253, allocations: 0 / 0.5401 GB, free: 0.6562 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.001314/0.1266, allocations: 0.8726 MB / 0.5409 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1267, allocations: 12.03 kB / 0.541 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.1267, allocations: 78.7 kB / 0.541 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1269, allocations: 68.19 kB / 0.5411 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.1273, allocations: 378 kB / 0.5415 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1274, allocations: 37.36 kB / 0.5415 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.1274, allocations: 44.12 kB / 0.5415 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1281, allocations: 455.8 kB / 0.542 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1281, allocations: 0 / 0.542 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.1282, allocations: 20 kB / 0.542 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1282, allocations: 15.94 kB / 0.542 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.1288, allocations: 407.7 kB / 0.5424 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.1309, allocations: 2.033 MB / 0.5444 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.1316, allocations: 413 kB / 0.5448 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.1319, allocations: 185.7 kB / 0.5449 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.1332, allocations: 1.404 MB / 0.5463 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1332, allocations: 38.89 kB / 0.5464 GB, free: 9.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.896e-06/0.1332, allocations: 4 kB / 0.5464 GB, free: 9.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005686/0.1389, allocations: 1.44 MB / 0.5478 GB, free: 8.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.139, allocations: 81.11 kB / 0.5478 GB, free: 8.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.1394, allocations: 389.5 kB / 0.5482 GB, free: 7.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1394, allocations: 37.67 kB / 0.5483 GB, free: 7.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1396, allocations: 256.3 kB / 0.5485 GB, free: 7.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.1397, allocations: 138 kB / 0.5486 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1398, allocations: 82.03 kB / 0.5487 GB, free: 7.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.14, allocations: 350.8 kB / 0.549 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.1402, allocations: 124.8 kB / 0.5492 GB, free: 6.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1405, allocations: 189.8 kB / 0.5493 GB, free: 6.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.1409, allocations: 323 kB / 0.5496 GB, free: 6.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.141, allocations: 8 kB / 0.5497 GB, free: 6.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002641/0.1436, allocations: 0.7833 MB / 0.5504 GB, free: 5.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1436, allocations: 4 kB / 0.5504 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1437, allocations: 4 kB / 0.5504 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.1464, allocations: 493.2 kB / 0.5509 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1466, allocations: 63.91 kB / 0.551 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.1482, allocations: 2.094 MB / 0.553 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.1485, allocations: 51.67 kB / 0.5531 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.1486, allocations: 15.98 kB / 0.5531 GB, free: 2.543 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.1487, allocations: 159.3 kB / 0.5532 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1489, allocations: 47.47 kB / 0.5533 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.1516, allocations: 0.8575 MB / 0.5541 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1516, allocations: 4 kB / 0.5541 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1516, allocations: 0 / 0.5541 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.1516, allocations: 7.984 kB / 0.5541 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.1548, allocations: 1.344 MB / 0.5554 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1548, allocations: 4 kB / 0.5554 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.1551, allocations: 44.03 kB / 0.5555 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.1575, allocations: 0.4894 MB / 0.556 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1575, allocations: 12 kB / 0.556 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.159, allocations: 2.098 MB / 0.558 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.159, allocations: 0 / 0.558 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.1619, allocations: 1.071 MB / 0.5591 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1621, allocations: 160.3 kB / 0.5592 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.1622, allocations: 12 kB / 0.5592 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.1625, allocations: 19.92 kB / 0.5592 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.1625, allocations: 32.03 kB / 0.5593 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.1626, allocations: 15.98 kB / 0.5593 GB, free: 11.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.1628, allocations: 275.2 kB / 0.5595 GB, free: 11.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 0.5595 GB, free: 11.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000589/0.1634, allocations: 195.7 kB / 0.5597 GB, free: 11.41 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003292/0.1667, allocations: 1.815 MB / 0.5615 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.1676, allocations: 473.9 kB / 0.562 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1676, allocations: 0 / 0.562 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.1681, allocations: 318.7 kB / 0.5623 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.169, allocations: 136.7 kB / 0.5624 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008779/0.1778, allocations: 4.985 MB / 0.5673 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1781, allocations: 0.8391 MB / 0.5681 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.1784, allocations: 70.88 kB / 0.5682 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1786, allocations: 171.4 kB / 0.5683 GB, free: 2.387 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1786, allocations: 0 / 0.5683 GB, free: 2.387 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.72/2.899, allocations: 14.52 MB / 0.5825 GB, free: 4.09 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/2.899, allocations: 236.5 kB / 0.5827 GB, free: 3.836 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/5.14, allocations: 0 / 0.5827 GB, free: 3.836 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches