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.001167/0.001167, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008908/0.008908, allocations: 170 kB / 16.27 MB, free: 6.66 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5392/0.5392, allocations: 89.63 MB / 381.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 18.03 kB / 460.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.0983, allocations: 68.83 MB / 0.5172 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01465/0.113, allocations: 16.84 MB / 0.5336 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.1194, allocations: 6.672 MB / 0.5401 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003747/0.1198, allocations: 7.938 kB / 0.5401 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.1204, allocations: 246.7 kB / 0.5404 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000946/0.1213, allocations: 461.2 kB / 0.5408 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.122, allocations: 323 kB / 0.5411 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007471/0.1228, allocations: 0.8089 MB / 0.5419 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.123, allocations: 117.2 kB / 0.542 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.1233, allocations: 258.9 kB / 0.5423 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1236, allocations: 266.6 kB / 0.5425 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.1236, allocations: 20 kB / 0.5425 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006485/0.1243, allocations: 331.6 kB / 0.5428 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.1244, allocations: 79.55 kB / 0.5429 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.1246, allocations: 276.2 kB / 0.5432 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.1253, allocations: 0.7086 MB / 0.5439 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1253, allocations: 0 / 0.5439 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1253, allocations: 0 / 0.5439 GB, free: 15.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1253, allocations: 3.938 kB / 0.5439 GB, free: 15.83 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.001297/0.1266, allocations: 0.7832 MB / 0.5446 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1267, allocations: 8.031 kB / 0.5447 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.1268, allocations: 82.7 kB / 0.5447 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1269, allocations: 60.19 kB / 0.5448 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.1273, allocations: 389.9 kB / 0.5452 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1274, allocations: 33.38 kB / 0.5452 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.1274, allocations: 48.03 kB / 0.5452 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.1281, allocations: 459.8 kB / 0.5457 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1281, allocations: 7.922 kB / 0.5457 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.1282, allocations: 16 kB / 0.5457 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1282, allocations: 12 kB / 0.5457 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.1288, allocations: 415.7 kB / 0.5461 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.1311, allocations: 2.029 MB / 0.5481 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.1317, allocations: 417.1 kB / 0.5485 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.132, allocations: 185.7 kB / 0.5487 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.1333, allocations: 1.415 MB / 0.55 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1333, allocations: 42.89 kB / 0.5501 GB, free: 8.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.413e-06/0.1333, allocations: 4 kB / 0.5501 GB, free: 8.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005381/0.1387, allocations: 1.444 MB / 0.5515 GB, free: 7.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1388, allocations: 85.05 kB / 0.5516 GB, free: 7.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.1391, allocations: 381.5 kB / 0.5519 GB, free: 6.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.1392, allocations: 33.7 kB / 0.552 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1393, allocations: 248.4 kB / 0.5522 GB, free: 6.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.1394, allocations: 141.9 kB / 0.5523 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.1395, allocations: 37.7 kB / 0.5524 GB, free: 6.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1396, allocations: 358.8 kB / 0.5527 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1399, allocations: 128.8 kB / 0.5529 GB, free: 6.027 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1401, allocations: 177.8 kB / 0.553 GB, free: 5.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.1406, allocations: 347 kB / 0.5534 GB, free: 5.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1406, allocations: 0 / 0.5534 GB, free: 5.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002566/0.1432, allocations: 0.7872 MB / 0.5541 GB, free: 4.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1432, allocations: 8 kB / 0.5541 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1432, allocations: 0 / 0.5541 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.1458, allocations: 489.2 kB / 0.5546 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.146, allocations: 67.91 kB / 0.5547 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.1476, allocations: 2.09 MB / 0.5567 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.1479, allocations: 47.7 kB / 0.5567 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.1479, allocations: 16 kB / 0.5568 GB, free: 1.809 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.0002112/0.1482, allocations: 159.3 kB / 0.5569 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.1482, allocations: 47.38 kB / 0.557 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.151, allocations: 0.8647 MB / 0.5578 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.151, allocations: 4 kB / 0.5578 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.151, allocations: 0 / 0.5578 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.151, allocations: 4.141 kB / 0.5578 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.1542, allocations: 1.34 MB / 0.5591 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1542, allocations: 0 / 0.5591 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1544, allocations: 55.91 kB / 0.5592 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/0.1568, allocations: 489.3 kB / 0.5596 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1569, allocations: 12 kB / 0.5596 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.1584, allocations: 2.094 MB / 0.5617 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1584, allocations: 3.938 kB / 0.5617 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.1612, allocations: 1.075 MB / 0.5627 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1614, allocations: 160.4 kB / 0.5629 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.1614, allocations: 16.05 kB / 0.5629 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.1617, allocations: 23.88 kB / 0.5629 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.1618, allocations: 31.95 kB / 0.563 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.1618, allocations: 12 kB / 0.563 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.1621, allocations: 279.1 kB / 0.5632 GB, free: 10.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1621, allocations: 0 / 0.5632 GB, free: 10.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005488/0.1626, allocations: 195.7 kB / 0.5634 GB, free: 10.67 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.00324/0.1659, allocations: 1.819 MB / 0.5652 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007493/0.1666, allocations: 482 kB / 0.5657 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1666, allocations: 0 / 0.5657 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.1671, allocations: 310.7 kB / 0.566 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.1679, allocations: 141.4 kB / 0.5661 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008514/0.1765, allocations: 5.09 MB / 0.5711 GB, free: 2.633 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1768, allocations: 0.8352 MB / 0.5719 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.177, allocations: 65.62 kB / 0.572 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.1772, allocations: 175.3 kB / 0.5721 GB, free: 1.539 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1772, allocations: 4 kB / 0.5721 GB, free: 1.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.425/4.603, allocations: 14.36 MB / 0.5861 GB, free: 3.43 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/4.603, allocations: 236.8 kB / 0.5864 GB, free: 3.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.277/8.88, allocations: 0 / 0.5864 GB, free: 3.176 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