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.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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001199/0.001199, allocations: 184.1 kB / 18.71 MB, free: 4.363 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2164/0.2164, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3375, allocations: 60.81 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002861/0.3404, allocations: 2.118 MB / 0.5205 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3419, allocations: 1.373 MB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.342, allocations: 1.156 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3423, allocations: 82.03 kB / 0.5219 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.3425, allocations: 69.11 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.343, allocations: 205.8 kB / 0.5222 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3432, allocations: 145.4 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.3432, allocations: 22.02 kB / 0.5224 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3433, allocations: 61.56 kB / 0.5224 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.3434, allocations: 61.14 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3434, allocations: 3.688 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.344, allocations: 429.1 kB / 0.5229 GB, free: 352 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.3441, allocations: 25.31 kB / 0.5229 GB, free: 336 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.3442, allocations: 73.55 kB / 0.523 GB, free: 288 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.3447, allocations: 433.3 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3447, allocations: 0 / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3447, allocations: 0 / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3447, allocations: 1.156 kB / 0.5234 GB, free: 92 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006894/0.3454, allocations: 0.5034 MB / 0.5239 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3455, allocations: 9.844 kB / 0.5239 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.3455, allocations: 56.64 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.3456, allocations: 24.19 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.3458, allocations: 209.3 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3459, allocations: 12.84 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3459, allocations: 23 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.3463, allocations: 204.6 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3463, allocations: 3.938 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3463, allocations: 10.03 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3463, allocations: 4.953 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.3466, allocations: 140.7 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.3475, allocations: 0.5842 MB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3477, allocations: 63.31 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3478, allocations: 34.61 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3479, allocations: 1.875 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3479, allocations: 31.69 kB / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3479, allocations: 0 / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004614/0.3484, allocations: 139.2 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3484, allocations: 51.41 kB / 0.5254 GB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.3487, allocations: 264.4 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3487, allocations: 25.7 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3489, allocations: 165.7 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.3489, allocations: 17.58 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.349, allocations: 40.25 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3492, allocations: 337.8 kB / 0.5263 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.3493, allocations: 42.28 kB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3495, allocations: 124 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.3498, allocations: 188.6 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3499, allocations: 1.406 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004016/0.3503, allocations: 201 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3503, allocations: 8 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.3503, allocations: 13.64 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3503, allocations: 4.125 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3505, allocations: 32.44 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3505, allocations: 12.98 kB / 0.5269 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3506, allocations: 37.53 kB / 0.5269 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3506, allocations: 13.62 kB / 0.5269 GB, free: 13.39 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.0001104/0.3508, allocations: 132.5 kB / 0.527 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.3508, allocations: 20.11 kB / 0.527 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3512, allocations: 137.4 kB / 0.5272 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3512, allocations: 0.7969 kB / 0.5272 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3512, allocations: 1.375 kB / 0.5272 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3512, allocations: 0 / 0.5272 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3515, allocations: 231.9 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.3515, allocations: 8.953 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.3516, allocations: 7.312 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3516, allocations: 1.375 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3516, allocations: 1.375 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.3516, allocations: 5.375 kB / 0.5274 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3516, allocations: 4.828 kB / 0.5274 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.3519, allocations: 212.7 kB / 0.5276 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.352, allocations: 100.6 kB / 0.5277 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.3521, allocations: 4.609 kB / 0.5277 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.3522, allocations: 6.234 kB / 0.5277 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3522, allocations: 4.109 kB / 0.5277 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3522, allocations: 7.453 kB / 0.5277 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.3524, allocations: 182.2 kB / 0.5279 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3524, allocations: 1.375 kB / 0.5279 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.3528, allocations: 78.91 kB / 0.528 GB, free: 12.55 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.0008411/0.3537, allocations: 0.7981 MB / 0.5288 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.3541, allocations: 170.4 kB / 0.5289 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3541, allocations: 0.875 kB / 0.5289 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.3543, allocations: 103.4 kB / 0.529 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3547, allocations: 25.34 kB / 0.5291 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.3576, allocations: 2.384 MB / 0.5314 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.358, allocations: 0.7322 MB / 0.5321 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.358, allocations: 17.48 kB / 0.5321 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.3581, allocations: 58.86 kB / 0.5322 GB, free: 8.898 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3581, allocations: 0 / 0.5322 GB, free: 8.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.3882, allocations: 6.774 MB / 0.5388 GB, free: 5.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.34, allocations: 12.45 kB / 0.5388 GB, free: 5.566 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches