Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001831/0.001831, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3151, allocations: 60.81 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002842/0.318, allocations: 2.179 MB / 0.5206 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3192, allocations: 1.062 MB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.3193, allocations: 1.125 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3196, allocations: 94.5 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.3199, allocations: 83.64 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3202, allocations: 114 kB / 0.5219 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3203, allocations: 181.8 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.3204, allocations: 15.36 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3205, allocations: 72.09 kB / 0.5222 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3207, allocations: 88.36 kB / 0.5222 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3207, allocations: 5.719 kB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.3211, allocations: 259.8 kB / 0.5225 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.3212, allocations: 34.97 kB / 0.5225 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.3213, allocations: 81.92 kB / 0.5226 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.3217, allocations: 333.6 kB / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3217, allocations: 1.031 kB / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3217, allocations: 0 / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3217, allocations: 0 / 0.5229 GB, free: 384 kB / 382.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.0005727/0.3223, allocations: 0.4979 MB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3223, allocations: 9.062 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.3224, allocations: 54.45 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.3225, allocations: 29.5 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3227, allocations: 216.6 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3228, allocations: 17.31 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.3228, allocations: 28.98 kB / 0.5238 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.3233, allocations: 230.3 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3233, allocations: 0 / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.3233, allocations: 10.34 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3233, allocations: 5.594 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.3238, allocations: 245.6 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3248, allocations: 0.618 MB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.3251, allocations: 103.1 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.3252, allocations: 43.61 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3252, allocations: 2.297 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3253, allocations: 37.23 kB / 0.525 GB, free: 14.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3253, allocations: 0 / 0.525 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005184/0.3258, allocations: 170.1 kB / 0.5252 GB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3259, allocations: 52.88 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.3261, allocations: 265.8 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3262, allocations: 25.7 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3263, allocations: 170.1 kB / 0.5257 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3264, allocations: 43.88 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.3264, allocations: 48.58 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3266, allocations: 344.5 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3268, allocations: 45.77 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.327, allocations: 148 kB / 0.5263 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.3274, allocations: 216.1 kB / 0.5265 GB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3275, allocations: 1.375 kB / 0.5265 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004713/0.3279, allocations: 242.5 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.328, allocations: 7.484 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.328, allocations: 2.75 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.328, allocations: 5.5 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.3284, allocations: 80.94 kB / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000853/0.3292, allocations: 1.219 MB / 0.528 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3294, allocations: 48.17 kB / 0.528 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3295, allocations: 14.27 kB / 0.528 GB, free: 12.34 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.0001418/0.3296, allocations: 127.9 kB / 0.5282 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3297, allocations: 26.08 kB / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.3301, allocations: 169.2 kB / 0.5283 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3301, allocations: 1.031 kB / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3301, allocations: 0 / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3302, allocations: 2.172 kB / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.3309, allocations: 461.8 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3309, allocations: 0 / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.3312, allocations: 55.72 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3312, allocations: 1.891 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3312, allocations: 2.438 kB / 0.5289 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007933/0.332, allocations: 1.216 MB / 0.53 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.332, allocations: 0 / 0.53 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.3324, allocations: 258.4 kB / 0.5303 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.3325, allocations: 95 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3325, allocations: 1.594 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3327, allocations: 8.828 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3327, allocations: 14.14 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3328, allocations: 2.688 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.333, allocations: 190.3 kB / 0.5306 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.333, allocations: 1.406 kB / 0.5306 GB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.3334, allocations: 66.5 kB / 0.5306 GB, free: 10.07 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.0008636/0.3342, allocations: 0.8264 MB / 0.5315 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.3348, allocations: 165.1 kB / 0.5316 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3348, allocations: 3.938 kB / 0.5316 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.3351, allocations: 87.77 kB / 0.5317 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3355, allocations: 32.77 kB / 0.5317 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.3387, allocations: 2.562 MB / 0.5342 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3391, allocations: 0.7344 MB / 0.5349 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.3392, allocations: 20.14 kB / 0.535 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3393, allocations: 66.16 kB / 0.535 GB, free: 6.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3393, allocations: 3.938 kB / 0.535 GB, free: 6.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3694, allocations: 6.126 MB / 0.541 GB, free: 3.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.16, allocations: 21.8 kB / 0.541 GB, free: 3.383 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches