Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001584, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 201.2 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.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 71.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3523, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00332/0.3557, allocations: 2.124 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.3578, allocations: 1.415 MB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3579, allocations: 1.375 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.3582, allocations: 85.48 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.3584, allocations: 73.05 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.359, allocations: 209.3 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3592, allocations: 146.1 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.3592, allocations: 16.55 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3594, allocations: 71.09 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3596, allocations: 58.97 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3596, allocations: 12 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.3602, allocations: 439.2 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.3603, allocations: 25.34 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.3603, allocations: 66.8 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.3609, allocations: 440.6 kB / 0.5356 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3609, allocations: 0 / 0.5356 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3609, allocations: 0.8125 kB / 0.5356 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.361, allocations: 0 / 0.5356 GB, free: 9.535 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006673/0.3616, allocations: 0.5043 MB / 0.5361 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3617, allocations: 9.188 kB / 0.5361 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.3617, allocations: 56.42 kB / 0.5361 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.3618, allocations: 24.05 kB / 0.5361 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.362, allocations: 217.2 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.362, allocations: 12.16 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.3621, allocations: 23.47 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.3624, allocations: 201.1 kB / 0.5366 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3625, allocations: 0 / 0.5366 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3625, allocations: 9.188 kB / 0.5366 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.3625, allocations: 5.531 kB / 0.5366 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.3628, allocations: 146.2 kB / 0.5367 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.3636, allocations: 0.5806 MB / 0.5373 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3638, allocations: 63.67 kB / 0.5374 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.364, allocations: 33.14 kB / 0.5374 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.364, allocations: 1.094 kB / 0.5374 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.364, allocations: 31.69 kB / 0.5374 GB, free: 7.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.364, allocations: 0 / 0.5374 GB, free: 7.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004592/0.3645, allocations: 140 kB / 0.5376 GB, free: 7.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3645, allocations: 51.41 kB / 0.5376 GB, free: 7.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3648, allocations: 259.2 kB / 0.5379 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3648, allocations: 29.69 kB / 0.5379 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3649, allocations: 167.9 kB / 0.538 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.365, allocations: 11.25 kB / 0.538 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.3651, allocations: 45.59 kB / 0.5381 GB, free: 7.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3652, allocations: 339 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3653, allocations: 38.34 kB / 0.5385 GB, free: 7.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.3655, allocations: 125.1 kB / 0.5386 GB, free: 6.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.3658, allocations: 193.6 kB / 0.5388 GB, free: 6.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3658, allocations: 0.9062 kB / 0.5388 GB, free: 6.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004113/0.3663, allocations: 200.1 kB / 0.5389 GB, free: 6.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3663, allocations: 8.656 kB / 0.539 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.3663, allocations: 15.31 kB / 0.539 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3664, allocations: 4.312 kB / 0.539 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3665, allocations: 39.25 kB / 0.539 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3665, allocations: 12.64 kB / 0.539 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3667, allocations: 32.28 kB / 0.5391 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3667, allocations: 16.27 kB / 0.5391 GB, free: 6.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.3668, allocations: 129.8 kB / 0.5392 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.3668, allocations: 24.77 kB / 0.5392 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.3672, allocations: 132.7 kB / 0.5393 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3672, allocations: 5.703 kB / 0.5394 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3672, allocations: 0 / 0.5394 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3673, allocations: 3.984 kB / 0.5394 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.3675, allocations: 225.3 kB / 0.5396 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.3675, allocations: 8.031 kB / 0.5396 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.3676, allocations: 9.016 kB / 0.5396 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3676, allocations: 0 / 0.5396 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.3676, allocations: 2.281 kB / 0.5396 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3676, allocations: 1.031 kB / 0.5396 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3676, allocations: 3.938 kB / 0.5396 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.3679, allocations: 215.3 kB / 0.5398 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.368, allocations: 102.8 kB / 0.5399 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3681, allocations: 0 / 0.5399 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3682, allocations: 8.047 kB / 0.5399 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3682, allocations: 3.656 kB / 0.5399 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3682, allocations: 1.688 kB / 0.5399 GB, free: 5.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.3684, allocations: 188.3 kB / 0.5401 GB, free: 5.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3684, allocations: 0 / 0.5401 GB, free: 5.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004021/0.3688, allocations: 78.59 kB / 0.5402 GB, free: 5.602 MB / 398.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008022/0.3696, allocations: 0.7982 MB / 0.5409 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.3701, allocations: 171.6 kB / 0.5411 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3701, allocations: 0 / 0.5411 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3703, allocations: 106.5 kB / 0.5412 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3707, allocations: 29.62 kB / 0.5412 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3737, allocations: 2.384 MB / 0.5436 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3741, allocations: 0.7316 MB / 0.5443 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.3741, allocations: 13.11 kB / 0.5443 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.3742, allocations: 54.98 kB / 0.5443 GB, free: 1.941 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3742, allocations: 0 / 0.5443 GB, free: 1.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.3998, allocations: 6.831 MB / 0.551 GB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.66, allocations: 3.531 kB / 0.551 GB, free: 12.36 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches