Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0009872/0.0009872, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 46.17 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 11.98 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00261/0.1263, allocations: 1.841 MB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1286, allocations: 1.414 MB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1287, allocations: 0 / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1291, allocations: 79.56 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1293, allocations: 59.5 kB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.1299, allocations: 174.5 kB / 486.8 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1301, allocations: 163 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.1302, allocations: 24.3 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1304, allocations: 55.61 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1305, allocations: 63.58 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1305, allocations: 4 kB / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006137/0.1311, allocations: 431.4 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1312, allocations: 27.8 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.1313, allocations: 97.12 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.1319, allocations: 438.4 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1319, allocations: 0 / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1319, allocations: 4 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1319, allocations: 0 / 488 MB, free: 15.18 MB / 366.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.0005943/0.1325, allocations: 470.7 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1326, allocations: 8.031 kB / 488.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.598e-05/0.1327, allocations: 54.73 kB / 488.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1327, allocations: 20.75 kB / 488.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1329, allocations: 211.9 kB / 488.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.133, allocations: 16.38 kB / 488.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.133, allocations: 23.94 kB / 488.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.1334, allocations: 199.8 kB / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1334, allocations: 0 / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1335, allocations: 12 kB / 489 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1335, allocations: 11.92 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.1338, allocations: 152.3 kB / 489.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.1347, allocations: 0.5753 MB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1349, allocations: 70.48 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1351, allocations: 36.94 kB / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1351, allocations: 4 kB / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1351, allocations: 38.56 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1351, allocations: 0 / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005194/0.1357, allocations: 149.3 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1357, allocations: 51.41 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.136, allocations: 262.6 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.136, allocations: 29.7 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1361, allocations: 163.6 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1361, allocations: 19.73 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1362, allocations: 21.72 kB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1363, allocations: 338.8 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1365, allocations: 43.97 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1367, allocations: 132.8 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.137, allocations: 188.7 kB / 491.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.137, allocations: 0 / 491.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000418/0.1374, allocations: 213 kB / 491.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1375, allocations: 15.23 kB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.1375, allocations: 20.03 kB / 491.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1375, allocations: 7.984 kB / 491.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1377, allocations: 27.98 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1377, allocations: 7.938 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1378, allocations: 39.67 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1379, allocations: 11.98 kB / 491.6 MB, free: 11.27 MB / 366.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.0001177/0.138, allocations: 125.8 kB / 491.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.138, allocations: 31.66 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.1385, allocations: 158.9 kB / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1385, allocations: 4 kB / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1385, allocations: 0 / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1385, allocations: 0 / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1387, allocations: 217.5 kB / 492.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.1387, allocations: 15.98 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.1388, allocations: 8 kB / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1388, allocations: 0 / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1388, allocations: 4 kB / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1388, allocations: 0 / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1388, allocations: 0 / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1392, allocations: 223.1 kB / 492.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.1392, allocations: 96.83 kB / 492.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1393, allocations: 3.984 kB / 492.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1394, allocations: 11.94 kB / 492.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1394, allocations: 7.984 kB / 492.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1394, allocations: 4 kB / 492.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1396, allocations: 178 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 0 / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.14, allocations: 83.86 kB / 492.8 MB, free: 10.03 MB / 366.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.000797/0.1408, allocations: 0.8059 MB / 493.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.1412, allocations: 172.1 kB / 493.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1412, allocations: 4 kB / 493.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.1414, allocations: 107.4 kB / 493.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1418, allocations: 20.88 kB / 493.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.1446, allocations: 2.492 MB / 496.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1449, allocations: 0.732 MB / 497.1 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.851e-05/0.145, allocations: 21.48 kB / 497.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.145, allocations: 59.42 kB / 497.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.145, allocations: 0 / 497.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.249, allocations: 6.341 MB / 0.4917 GB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/1.249, allocations: 281.6 kB / 0.492 GB, free: 14.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/4.37, allocations: 0 / 0.492 GB, free: 14.9 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches