Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002228/0.002228, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3271, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.005053/0.3322, allocations: 2.689 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3348, allocations: 1.477 MB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.3352, allocations: 9.25 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.3356, allocations: 118.8 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.3361, allocations: 138.2 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.3367, allocations: 266.3 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.337, allocations: 275.4 kB / 0.5354 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.3371, allocations: 28.36 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3372, allocations: 97.78 kB / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3374, allocations: 126 kB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.3374, allocations: 6.906 kB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.3384, allocations: 0.6067 MB / 0.5362 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.3385, allocations: 46.2 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3386, allocations: 135.3 kB / 0.5364 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.3394, allocations: 0.5562 MB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3394, allocations: 5.125 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3394, allocations: 0 / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3394, allocations: 0 / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009032/0.3403, allocations: 0.6445 MB / 0.5376 GB, free: 7.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3404, allocations: 9.25 kB / 0.5376 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.059e-05/0.3404, allocations: 70.09 kB / 0.5377 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.3405, allocations: 40.73 kB / 0.5377 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.3408, allocations: 252.1 kB / 0.5379 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.3408, allocations: 31.81 kB / 0.538 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.3409, allocations: 38.81 kB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.3417, allocations: 0.5771 MB / 0.5386 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3417, allocations: 7.344 kB / 0.5386 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.3417, allocations: 19.34 kB / 0.5386 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.3418, allocations: 10.53 kB / 0.5386 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/0.3423, allocations: 334.9 kB / 0.5389 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.3454, allocations: 4.051 MB / 0.5429 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.3457, allocations: 91.56 kB / 0.543 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3458, allocations: 37.58 kB / 0.543 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.3458, allocations: 5.094 kB / 0.543 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3459, allocations: 31.72 kB / 0.543 GB, free: 2.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.3459, allocations: 4 kB / 0.543 GB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005685/0.3465, allocations: 162.6 kB / 0.5432 GB, free: 2.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3465, allocations: 52.53 kB / 0.5432 GB, free: 2.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.347, allocations: 413.7 kB / 0.5436 GB, free: 2.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.347, allocations: 29.7 kB / 0.5437 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.3472, allocations: 258.6 kB / 0.5439 GB, free: 1.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3472, allocations: 27.84 kB / 0.5439 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3473, allocations: 74.16 kB / 0.544 GB, free: 1.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3475, allocations: 351.5 kB / 0.5444 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3476, allocations: 62.92 kB / 0.5444 GB, free: 1.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.348, allocations: 268.5 kB / 0.5447 GB, free: 1.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.3484, allocations: 349 kB / 0.545 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3485, allocations: 2.25 kB / 0.545 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006136/0.3491, allocations: 357.3 kB / 0.5453 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3491, allocations: 9.938 kB / 0.5454 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3491, allocations: 7.344 kB / 0.5454 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.3492, allocations: 9.5 kB / 0.5454 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.3496, allocations: 111.5 kB / 0.5455 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/0.3505, allocations: 1.22 MB / 0.5467 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3509, allocations: 64.84 kB / 0.5467 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3509, allocations: 21.91 kB / 0.5468 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.3511, allocations: 150.8 kB / 0.5469 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.3512, allocations: 39.92 kB / 0.5469 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.3516, allocations: 171.5 kB / 0.5471 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3517, allocations: 1.094 kB / 0.5471 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3517, allocations: 0 / 0.5471 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3517, allocations: 0 / 0.5471 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.352, allocations: 287.3 kB / 0.5474 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3521, allocations: 4 kB / 0.5474 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.3523, allocations: 53.66 kB / 0.5474 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3524, allocations: 1.094 kB / 0.5474 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3524, allocations: 2.094 kB / 0.5474 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/0.3531, allocations: 1.207 MB / 0.5486 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3531, allocations: 0 / 0.5486 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3535, allocations: 240.4 kB / 0.5488 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3536, allocations: 117.8 kB / 0.5489 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.3537, allocations: 5.031 kB / 0.549 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3539, allocations: 11.52 kB / 0.549 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3539, allocations: 3.406 kB / 0.549 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3539, allocations: 7.406 kB / 0.549 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003269/0.3543, allocations: 272.1 kB / 0.5492 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3543, allocations: 0 / 0.5492 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007133/0.355, allocations: 117.6 kB / 0.5493 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.3562, allocations: 0.8592 MB / 0.5502 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.3569, allocations: 202.5 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3569, allocations: 4 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.3572, allocations: 78.7 kB / 0.5505 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.3576, allocations: 44.8 kB / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.3621, allocations: 3.398 MB / 0.5538 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3626, allocations: 0.7755 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.3627, allocations: 34.95 kB / 0.5546 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.3629, allocations: 103.4 kB / 0.5547 GB, free: 7.789 MB / 414.1 MB Notification: Performance of SimCode: time 2.134e-06/0.3629, allocations: 0 / 0.5547 GB, free: 7.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.3936, allocations: 10.13 MB / 0.5646 GB, free: 13.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12, allocations: 5.578 kB / 0.5646 GB, free: 13.89 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches