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.00107/0.00107, allocations: 110.4 kB / 17.78 MB, free: 5.254 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.001175/0.001175, allocations: 187 kB / 18.71 MB, free: 4.328 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.341/1.341, 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.2117/0.2117, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3673, allocations: 60.81 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003838/0.3711, allocations: 2.13 MB / 0.5205 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.373, allocations: 1.367 MB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.866e-05/0.3731, allocations: 1.531 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3734, allocations: 86.98 kB / 0.5219 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.3736, allocations: 69.98 kB / 0.522 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.3742, allocations: 204.6 kB / 0.5222 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3744, allocations: 146.4 kB / 0.5223 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.568e-05/0.3744, allocations: 23.22 kB / 0.5224 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3746, allocations: 59.3 kB / 0.5224 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3747, allocations: 66.36 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3747, allocations: 3.312 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.3754, allocations: 424.9 kB / 0.5229 GB, free: 356 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.3755, allocations: 25.48 kB / 0.5229 GB, free: 340 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.3756, allocations: 73.75 kB / 0.523 GB, free: 292 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.3762, allocations: 436 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3762, allocations: 0.7969 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3762, allocations: 0 / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3763, allocations: 5.281 kB / 0.5234 GB, free: 88 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.0006807/0.3769, allocations: 0.4886 MB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.377, allocations: 9.375 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.3771, allocations: 52.98 kB / 0.5239 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.3771, allocations: 24.06 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3773, allocations: 216.8 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3773, allocations: 12.69 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3774, allocations: 18.25 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.3778, allocations: 211.7 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3778, allocations: 1.062 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3778, allocations: 6.469 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3779, allocations: 3.906 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.3782, allocations: 146.3 kB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.379, allocations: 0.5754 MB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3792, allocations: 62.83 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3794, allocations: 32.39 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3794, allocations: 0.7031 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.3794, allocations: 35.81 kB / 0.5252 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3794, allocations: 0 / 0.5252 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000448/0.3799, allocations: 134.3 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3799, allocations: 57.12 kB / 0.5254 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.3802, allocations: 260.8 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3802, allocations: 25.7 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3803, allocations: 164.7 kB / 0.5259 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3803, allocations: 16.95 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.3804, allocations: 42.42 kB / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3805, allocations: 338.6 kB / 0.5262 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3807, allocations: 34.52 kB / 0.5263 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.3808, allocations: 133.7 kB / 0.5264 GB, free: 13.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3812, allocations: 179.5 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3812, allocations: 4.734 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000398/0.3816, allocations: 201.2 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3816, allocations: 6.875 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.3816, allocations: 12.36 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3817, allocations: 8.062 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3818, allocations: 28.06 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3818, allocations: 8.719 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.382, allocations: 38.41 kB / 0.5269 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.382, allocations: 9.125 kB / 0.5269 GB, free: 13.42 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.0001215/0.3821, allocations: 140.4 kB / 0.527 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3822, allocations: 16.77 kB / 0.527 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3826, allocations: 137.3 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3826, allocations: 1.375 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3826, allocations: 0.6094 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3826, allocations: 3.938 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3829, allocations: 224.4 kB / 0.5274 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/0.3829, allocations: 11.84 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.383, allocations: 8.172 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.383, allocations: 0 / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.383, allocations: 2.281 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.383, allocations: 1.953 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3831, allocations: 4 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.3834, allocations: 210 kB / 0.5276 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.3835, allocations: 94.98 kB / 0.5277 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.3835, allocations: 1.719 kB / 0.5277 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3837, allocations: 6.797 kB / 0.5277 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.3837, allocations: 16.86 kB / 0.5277 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3837, allocations: 1.656 kB / 0.5277 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.3839, allocations: 179 kB / 0.5279 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3839, allocations: 0 / 0.5279 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.3844, allocations: 78.58 kB / 0.528 GB, free: 12.59 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.0009009/0.3853, allocations: 0.8108 MB / 0.5288 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.3858, allocations: 166.9 kB / 0.5289 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3858, allocations: 0.875 kB / 0.5289 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.386, allocations: 103.3 kB / 0.529 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3864, allocations: 23.16 kB / 0.529 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.3892, allocations: 2.37 MB / 0.5313 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3896, allocations: 0.7321 MB / 0.5321 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.3897, allocations: 13.23 kB / 0.5321 GB, free: 9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.3898, allocations: 59.33 kB / 0.5321 GB, free: 8.949 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3898, allocations: 4 kB / 0.5321 GB, free: 8.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.4199, allocations: 6.88 MB / 0.5389 GB, free: 5.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 16.83 kB / 0.5389 GB, free: 5.535 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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