Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 117.6 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.002038/0.002038, allocations: 199.9 kB / 18.74 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.416/1.416, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3123, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003529/0.3159, allocations: 2.078 MB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3181, allocations: 1.331 MB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3183, allocations: 1.375 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.3187, allocations: 69.47 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.3189, allocations: 82.5 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.3195, allocations: 209.7 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.32, allocations: 432.4 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.3201, allocations: 47.38 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.3204, allocations: 153 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.3206, allocations: 177.5 kB / 0.5351 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.3207, allocations: 16.38 kB / 0.5351 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.3212, allocations: 264.1 kB / 0.5353 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3213, allocations: 88.11 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3215, allocations: 162.5 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.3222, allocations: 0.5237 MB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3223, allocations: 1.156 kB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3223, allocations: 0 / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3223, allocations: 0 / 0.5361 GB, free: 9.324 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001175/0.3235, allocations: 0.7296 MB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3235, allocations: 10.19 kB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.3236, allocations: 81.97 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.324, allocations: 78.98 kB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3244, allocations: 288.8 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.3244, allocations: 31.88 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.3245, allocations: 36 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.3254, allocations: 0.5545 MB / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3254, allocations: 0 / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.3255, allocations: 19.31 kB / 0.5379 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.3255, allocations: 21.48 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.3264, allocations: 415.1 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3281, allocations: 1.289 MB / 0.5395 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.3287, allocations: 276.2 kB / 0.5398 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.329, allocations: 143.1 kB / 0.5399 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.3291, allocations: 8.797 kB / 0.5399 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3291, allocations: 40.66 kB / 0.54 GB, free: 6.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.3291, allocations: 0 / 0.54 GB, free: 6.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00119/0.3303, allocations: 469.7 kB / 0.5404 GB, free: 6.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.3304, allocations: 105.2 kB / 0.5405 GB, free: 6.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.3309, allocations: 0.4912 MB / 0.541 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.331, allocations: 30.77 kB / 0.541 GB, free: 5.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3312, allocations: 210.4 kB / 0.5412 GB, free: 5.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.3312, allocations: 67.16 kB / 0.5413 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3314, allocations: 67.47 kB / 0.5414 GB, free: 5.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3315, allocations: 355 kB / 0.5417 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.3319, allocations: 134.4 kB / 0.5418 GB, free: 5.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.3323, allocations: 210.7 kB / 0.542 GB, free: 5.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/0.333, allocations: 374.8 kB / 0.5424 GB, free: 4.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.333, allocations: 0 / 0.5424 GB, free: 4.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008799/0.3339, allocations: 422.4 kB / 0.5428 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3339, allocations: 10.91 kB / 0.5428 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-05/0.334, allocations: 36.05 kB / 0.5428 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.334, allocations: 8.062 kB / 0.5428 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.3342, allocations: 32.45 kB / 0.5429 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3343, allocations: 8.562 kB / 0.5429 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.3345, allocations: 56.22 kB / 0.5429 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.3346, allocations: 16.8 kB / 0.543 GB, free: 4.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002165/0.3348, allocations: 193.5 kB / 0.5431 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3349, allocations: 44.72 kB / 0.5432 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008257/0.3357, allocations: 401.8 kB / 0.5436 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3358, allocations: 4 kB / 0.5436 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3358, allocations: 4 kB / 0.5436 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3358, allocations: 3.984 kB / 0.5436 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.3364, allocations: 369.3 kB / 0.5439 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.044e-05/0.3364, allocations: 27.94 kB / 0.544 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3366, allocations: 31.84 kB / 0.544 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3366, allocations: 4 kB / 0.544 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3366, allocations: 15.98 kB / 0.544 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3366, allocations: 4 kB / 0.544 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3366, allocations: 0 / 0.544 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.3375, allocations: 0.5817 MB / 0.5446 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3376, allocations: 116.9 kB / 0.5447 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.3377, allocations: 4 kB / 0.5447 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.338, allocations: 19.97 kB / 0.5447 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.338, allocations: 19.92 kB / 0.5447 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3381, allocations: 12 kB / 0.5447 GB, free: 2.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004041/0.3385, allocations: 367 kB / 0.5451 GB, free: 2.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3385, allocations: 4 kB / 0.5451 GB, free: 2.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005483/0.339, allocations: 123.7 kB / 0.5452 GB, free: 2.262 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001428/0.3405, allocations: 1.206 MB / 0.5464 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000932/0.3414, allocations: 0.5308 MB / 0.5469 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3414, allocations: 4 kB / 0.5469 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.342, allocations: 395.1 kB / 0.5473 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.3426, allocations: 102 kB / 0.5474 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/0.3489, allocations: 4.667 MB / 0.5519 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3494, allocations: 0.8458 MB / 0.5528 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.3496, allocations: 67.23 kB / 0.5528 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3498, allocations: 111.4 kB / 0.5529 GB, free: 10.03 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3498, allocations: 0 / 0.5529 GB, free: 10.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.3846, allocations: 11.91 MB / 0.5646 GB, free: 14.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.274/9.658, allocations: 6.844 kB / 0.5646 GB, free: 14.33 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_General_kc_approxForcedConvection.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches