Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001248/0.001247, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, 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.2064/0.2064, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 76.16 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3172, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003614/0.3209, allocations: 2.189 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3226, allocations: 1.101 MB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3227, allocations: 0 / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.3231, allocations: 97.28 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3234, allocations: 91.8 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3237, allocations: 118.9 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.324, allocations: 186.8 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.324, allocations: 18.02 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3242, allocations: 80.53 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3244, allocations: 88.3 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3244, allocations: 5.5 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.3248, allocations: 260 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.3249, allocations: 31.91 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.325, allocations: 80.16 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.3255, allocations: 337.3 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3255, allocations: 0 / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3255, allocations: 0 / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3255, allocations: 1.375 kB / 0.5351 GB, free: 9.883 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008436/0.3264, allocations: 0.5003 MB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3265, allocations: 9.688 kB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.3265, allocations: 61.41 kB / 0.5356 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3266, allocations: 24.23 kB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3269, allocations: 217.6 kB / 0.5359 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.327, allocations: 17.66 kB / 0.5359 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.327, allocations: 25.53 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.3276, allocations: 231.2 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3276, allocations: 0 / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.3277, allocations: 6.25 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3277, allocations: 4.656 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.3282, allocations: 250.8 kB / 0.5364 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3295, allocations: 0.6195 MB / 0.537 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.3299, allocations: 100.2 kB / 0.5371 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.33, allocations: 43.02 kB / 0.5371 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3301, allocations: 5.25 kB / 0.5371 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3301, allocations: 39.72 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3301, allocations: 1.688 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005779/0.3307, allocations: 167.8 kB / 0.5373 GB, free: 8.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3308, allocations: 53.22 kB / 0.5374 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.331, allocations: 266.7 kB / 0.5376 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3311, allocations: 30.8 kB / 0.5377 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.3313, allocations: 179.3 kB / 0.5378 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3313, allocations: 37.05 kB / 0.5379 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.3314, allocations: 51.84 kB / 0.5379 GB, free: 7.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3316, allocations: 340 kB / 0.5382 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3317, allocations: 45.12 kB / 0.5383 GB, free: 7.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.332, allocations: 147.7 kB / 0.5384 GB, free: 7.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.3323, allocations: 216.8 kB / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3324, allocations: 1.094 kB / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005165/0.3329, allocations: 241.7 kB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3329, allocations: 6.531 kB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3329, allocations: 4.125 kB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3329, allocations: 4.906 kB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.3334, allocations: 87.36 kB / 0.539 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/0.3342, allocations: 1.222 MB / 0.5402 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.3344, allocations: 40.95 kB / 0.5402 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3345, allocations: 10.25 kB / 0.5402 GB, free: 5.445 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 (25): * Single equations (assignments): 23 * 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.0001492/0.3346, allocations: 134.4 kB / 0.5403 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.3347, allocations: 29.67 kB / 0.5404 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.3352, allocations: 171.5 kB / 0.5405 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3352, allocations: 0 / 0.5405 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3352, allocations: 1.375 kB / 0.5405 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3352, allocations: 0 / 0.5405 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.3359, allocations: 454.9 kB / 0.541 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3359, allocations: 0 / 0.541 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.3362, allocations: 57.44 kB / 0.541 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3362, allocations: 1.219 kB / 0.541 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3363, allocations: 10.59 kB / 0.541 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000716/0.337, allocations: 1.21 MB / 0.5422 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.337, allocations: 0 / 0.5422 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.3374, allocations: 251.5 kB / 0.5425 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.3375, allocations: 98.23 kB / 0.5425 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3375, allocations: 2.094 kB / 0.5425 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3377, allocations: 16.08 kB / 0.5426 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.3378, allocations: 5.25 kB / 0.5426 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3378, allocations: 8.391 kB / 0.5426 GB, free: 3.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.338, allocations: 189.6 kB / 0.5428 GB, free: 3.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.338, allocations: 1.219 kB / 0.5428 GB, free: 3.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000421/0.3384, allocations: 74.36 kB / 0.5428 GB, free: 3.066 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0009268/0.3393, allocations: 0.8197 MB / 0.5436 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.3399, allocations: 168.8 kB / 0.5438 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.34, allocations: 0 / 0.5438 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.3403, allocations: 83.67 kB / 0.5439 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3407, allocations: 34.62 kB / 0.5439 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.3442, allocations: 2.55 MB / 0.5464 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3446, allocations: 0.734 MB / 0.5471 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.493e-05/0.3447, allocations: 24.89 kB / 0.5471 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3448, allocations: 65.03 kB / 0.5472 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 2.124e-06/0.3448, allocations: 0 / 0.5472 GB, free: 15.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.376, allocations: 6.166 MB / 0.5532 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 12.75 kB / 0.5532 GB, free: 9.988 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches