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.001081/0.00108, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.00122/0.00122, allocations: 188 kB / 18.71 MB, free: 4.387 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2222/0.2222, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3723, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003172/0.3755, allocations: 2.118 MB / 0.5205 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3777, allocations: 1.372 MB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.3779, allocations: 1.188 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.3782, allocations: 91.77 kB / 0.5219 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.3785, allocations: 57.78 kB / 0.522 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3792, allocations: 216.8 kB / 0.5222 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.3795, allocations: 149.9 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.3796, allocations: 18.47 kB / 0.5224 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.3797, allocations: 55.5 kB / 0.5224 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3799, allocations: 66.97 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3799, allocations: 3.625 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000728/0.3806, allocations: 431.5 kB / 0.5229 GB, free: 348 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.3807, allocations: 21.77 kB / 0.5229 GB, free: 336 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.3808, allocations: 73.42 kB / 0.523 GB, free: 288 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.3815, allocations: 436.7 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3815, allocations: 0 / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3815, allocations: 2.094 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.3815, allocations: 0 / 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.0007991/0.3823, allocations: 0.4928 MB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3823, allocations: 8.938 kB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.269e-05/0.3824, allocations: 56.98 kB / 0.5239 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.3825, allocations: 22.81 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3828, allocations: 209.9 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3828, allocations: 16.34 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.3828, allocations: 19.41 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.3833, allocations: 205 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3833, allocations: 3.938 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3833, allocations: 5.25 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3833, allocations: 5.281 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.3837, allocations: 154 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3847, allocations: 0.5675 MB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3849, allocations: 62.41 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.385, allocations: 35.22 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3851, allocations: 2.422 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3851, allocations: 31.17 kB / 0.5252 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3851, allocations: 1.781 kB / 0.5252 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004699/0.3856, allocations: 133.2 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3856, allocations: 55.41 kB / 0.5254 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.3859, allocations: 264.3 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3859, allocations: 26.64 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.386, allocations: 168 kB / 0.5259 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3861, allocations: 16.81 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.3861, allocations: 41.27 kB / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3863, allocations: 334.1 kB / 0.5262 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.3864, allocations: 37.41 kB / 0.5263 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3866, allocations: 132.3 kB / 0.5264 GB, free: 13.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3869, allocations: 184.2 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3869, allocations: 1.375 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000435/0.3874, allocations: 195.8 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3874, allocations: 7.578 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.3875, allocations: 16.23 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3875, allocations: 12.06 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3876, allocations: 31.36 kB / 0.5268 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.3877, allocations: 6.766 kB / 0.5268 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.3878, allocations: 41.11 kB / 0.5269 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3879, allocations: 9.75 kB / 0.5269 GB, free: 13.41 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.0001243/0.388, allocations: 135.2 kB / 0.527 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.388, allocations: 16.84 kB / 0.527 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.3885, allocations: 136.6 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3885, allocations: 2.078 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3885, allocations: 1.719 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3885, allocations: 0 / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.3888, allocations: 227 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.3888, allocations: 12.89 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.3889, allocations: 7.719 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3889, allocations: 1.156 kB / 0.5274 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3889, allocations: 6.25 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3889, allocations: 3.938 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3889, allocations: 1.766 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3893, allocations: 205.2 kB / 0.5276 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.3894, allocations: 95.06 kB / 0.5277 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.3894, allocations: 1.828 kB / 0.5277 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3895, allocations: 6.156 kB / 0.5277 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3896, allocations: 8.344 kB / 0.5277 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3896, allocations: 2.938 kB / 0.5277 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.3899, allocations: 182.7 kB / 0.5279 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3899, allocations: 0 / 0.5279 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.3904, allocations: 79.19 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.001074/0.3915, allocations: 0.8078 MB / 0.5287 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.392, allocations: 164 kB / 0.5289 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.392, allocations: 0 / 0.5289 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3922, allocations: 106.9 kB / 0.529 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3927, allocations: 27.39 kB / 0.529 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.3959, allocations: 2.378 MB / 0.5314 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3962, allocations: 0.725 MB / 0.5321 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.3963, allocations: 21.06 kB / 0.5321 GB, free: 8.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.3964, allocations: 54.36 kB / 0.5321 GB, free: 8.938 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3964, allocations: 0 / 0.5321 GB, free: 8.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4301, allocations: 6.891 MB / 0.5389 GB, free: 5.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 13.17 kB / 0.5389 GB, free: 5.523 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