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.001084/0.001084, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001055/0.001055, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6243/0.6243, allocations: 91.21 MB / 381.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 84.02 kB / 459.9 MB, free: 23.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1125, allocations: 67.69 MB / 0.5152 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01747/0.13, allocations: 17.67 MB / 0.5325 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.1367, allocations: 6.793 MB / 0.5391 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.1373, allocations: 27.81 kB / 0.5392 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007352/0.1381, allocations: 246.7 kB / 0.5394 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.1394, allocations: 485.1 kB / 0.5399 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.1402, allocations: 331 kB / 0.5402 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008816/0.1411, allocations: 0.7892 MB / 0.5409 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1414, allocations: 149.7 kB / 0.5411 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.1419, allocations: 342.4 kB / 0.5414 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.1423, allocations: 298.5 kB / 0.5417 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.1424, allocations: 40 kB / 0.5417 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.1432, allocations: 371.6 kB / 0.5421 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1433, allocations: 111.4 kB / 0.5422 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.1435, allocations: 294.3 kB / 0.5425 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1446, allocations: 0.8099 MB / 0.5433 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1446, allocations: 0 / 0.5433 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1446, allocations: 0 / 0.5433 GB, free: 13.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1446, allocations: 0 / 0.5433 GB, free: 13.61 MB / 430.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.001515/0.1462, allocations: 0.9502 MB / 0.5442 GB, free: 12.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1462, allocations: 12.03 kB / 0.5442 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.1463, allocations: 78.72 kB / 0.5443 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1465, allocations: 76 kB / 0.5444 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.1471, allocations: 487.3 kB / 0.5448 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1472, allocations: 29 kB / 0.5448 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.1472, allocations: 47.98 kB / 0.5449 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.1479, allocations: 459.8 kB / 0.5453 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1479, allocations: 0 / 0.5453 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.148, allocations: 16 kB / 0.5453 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.148, allocations: 12 kB / 0.5454 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.1486, allocations: 407.7 kB / 0.5457 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.151, allocations: 2.064 MB / 0.5478 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.1516, allocations: 405.2 kB / 0.5481 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.1519, allocations: 183.4 kB / 0.5483 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.1533, allocations: 1.416 MB / 0.5497 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1533, allocations: 38.89 kB / 0.5497 GB, free: 6.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.1533, allocations: 0 / 0.5497 GB, free: 6.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005966/0.1593, allocations: 1.463 MB / 0.5512 GB, free: 4.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1593, allocations: 81.11 kB / 0.5512 GB, free: 4.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.1598, allocations: 470.9 kB / 0.5517 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1598, allocations: 29.7 kB / 0.5517 GB, free: 4.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.16, allocations: 284.4 kB / 0.552 GB, free: 4.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.1601, allocations: 141.9 kB / 0.5521 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1602, allocations: 78.16 kB / 0.5522 GB, free: 3.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1604, allocations: 362.8 kB / 0.5526 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.1606, allocations: 124.8 kB / 0.5527 GB, free: 3.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.1609, allocations: 185.8 kB / 0.5528 GB, free: 3.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.1614, allocations: 335 kB / 0.5532 GB, free: 2.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1614, allocations: 3.938 kB / 0.5532 GB, free: 2.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002759/0.1642, allocations: 0.7988 MB / 0.554 GB, free: 2.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1642, allocations: 8 kB / 0.554 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1642, allocations: 0 / 0.554 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.1669, allocations: 497.2 kB / 0.5544 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.1671, allocations: 63.91 kB / 0.5545 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.1688, allocations: 2.198 MB / 0.5566 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.169, allocations: 51.55 kB / 0.5567 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.1691, allocations: 12 kB / 0.5567 GB, free: 15.02 MB / 446.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.000191/0.1693, allocations: 171.3 kB / 0.5569 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.1694, allocations: 59.55 kB / 0.5569 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.1722, allocations: 0.8627 MB / 0.5578 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1722, allocations: 4 kB / 0.5578 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1722, allocations: 4 kB / 0.5578 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1723, allocations: 3.938 kB / 0.5578 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.1756, allocations: 1.371 MB / 0.5591 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1757, allocations: 0 / 0.5591 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.1759, allocations: 51.92 kB / 0.5592 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.1784, allocations: 493.3 kB / 0.5596 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.1785, allocations: 20 kB / 0.5597 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.1802, allocations: 2.189 MB / 0.5618 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1803, allocations: 4.031 kB / 0.5618 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.1833, allocations: 1.098 MB / 0.5629 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.1835, allocations: 168.2 kB / 0.563 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.1836, allocations: 8 kB / 0.563 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.184, allocations: 24.05 kB / 0.5631 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.184, allocations: 28.05 kB / 0.5631 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.1841, allocations: 19.92 kB / 0.5631 GB, free: 8.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004197/0.1845, allocations: 338.9 kB / 0.5634 GB, free: 7.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1845, allocations: 0 / 0.5634 GB, free: 7.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007157/0.1852, allocations: 191.7 kB / 0.5636 GB, free: 7.633 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.003657/0.1889, allocations: 1.819 MB / 0.5654 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009892/0.1899, allocations: 493.6 kB / 0.5659 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.1899, allocations: 4.312 kB / 0.5659 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.1905, allocations: 314.1 kB / 0.5662 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.1915, allocations: 160.4 kB / 0.5663 GB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.2022, allocations: 5.423 MB / 0.5716 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2027, allocations: 0.8667 MB / 0.5725 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.203, allocations: 75.48 kB / 0.5725 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.2033, allocations: 207.4 kB / 0.5727 GB, free: 14.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.344e-06/0.2033, allocations: 0 / 0.5727 GB, free: 14.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2559/0.4592, allocations: 16.05 MB / 0.5884 GB, free: 72.21 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.4594, allocations: 235.1 kB / 0.5886 GB, free: 71.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/3.793, allocations: 0.5 kB / 0.5886 GB, free: 71.96 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