Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001177/0.001177, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001161/0.001161, allocations: 185.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2314/0.2314, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1356, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004093/0.1397, allocations: 2.076 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1423, allocations: 1.294 MB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1425, allocations: 0 / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1429, allocations: 75.59 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1432, allocations: 91.38 kB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.144, allocations: 195.3 kB / 0.4911 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.1447, allocations: 434 kB / 0.4915 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1449, allocations: 52.69 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.1452, allocations: 151.2 kB / 0.4917 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.1455, allocations: 171.1 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.1456, allocations: 15.94 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.1463, allocations: 255.6 kB / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1464, allocations: 83.59 kB / 0.4922 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.1467, allocations: 162.8 kB / 0.4923 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008445/0.1475, allocations: 0.5212 MB / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1475, allocations: 0 / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1476, allocations: 4 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1476, allocations: 0 / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001478/0.1491, allocations: 0.7207 MB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1491, allocations: 8.031 kB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1492, allocations: 82.66 kB / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.1493, allocations: 44.66 kB / 0.4937 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.1497, allocations: 296.2 kB / 0.494 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.1497, allocations: 33 kB / 0.494 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.1498, allocations: 36 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.1507, allocations: 0.5535 MB / 0.4946 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1507, allocations: 0 / 0.4946 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.1508, allocations: 16 kB / 0.4946 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.1508, allocations: 21 kB / 0.4946 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.1516, allocations: 415.6 kB / 0.495 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.1539, allocations: 1.289 MB / 0.4962 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.1544, allocations: 271.6 kB / 0.4965 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.1548, allocations: 146.4 kB / 0.4966 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.1548, allocations: 11.98 kB / 0.4967 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.1549, allocations: 34.5 kB / 0.4967 GB, free: 2.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.1549, allocations: 0 / 0.4967 GB, free: 2.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001203/0.1561, allocations: 465.2 kB / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.1562, allocations: 110.8 kB / 0.4972 GB, free: 1.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.1568, allocations: 0.494 MB / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.1568, allocations: 25.7 kB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.157, allocations: 212.4 kB / 0.4979 GB, free: 1.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.1571, allocations: 59.53 kB / 0.498 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1572, allocations: 65.66 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1574, allocations: 350.8 kB / 0.4984 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.1578, allocations: 132.1 kB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.1582, allocations: 222.4 kB / 0.4987 GB, free: 356 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.1589, allocations: 369.9 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1589, allocations: 0 / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009241/0.1599, allocations: 416.9 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1599, allocations: 7.938 kB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/0.16, allocations: 35.92 kB / 0.4995 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.16, allocations: 4 kB / 0.4995 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1602, allocations: 32.31 kB / 0.4996 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1603, allocations: 11.94 kB / 0.4996 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.1606, allocations: 59.59 kB / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1606, allocations: 16 kB / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002291/0.1608, allocations: 201.7 kB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.161, allocations: 43.66 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008341/0.1618, allocations: 408.5 kB / 0.5003 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1618, allocations: 4 kB / 0.5003 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1618, allocations: 4 kB / 0.5003 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1619, allocations: 4 kB / 0.5003 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.1624, allocations: 365.3 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.914e-05/0.1625, allocations: 31.98 kB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1626, allocations: 27.91 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1627, allocations: 4 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.1627, allocations: 12 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1627, allocations: 0 / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1627, allocations: 7.938 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1638, allocations: 0.5899 MB / 0.5013 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.164, allocations: 120.7 kB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.164, allocations: 4 kB / 0.5014 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.1643, allocations: 15.98 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1644, allocations: 19.98 kB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.1645, allocations: 15.98 kB / 0.5015 GB, free: 13.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005151/0.165, allocations: 367.1 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.165, allocations: 0 / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006961/0.1657, allocations: 119.8 kB / 0.5019 GB, free: 12.95 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001961/0.1677, allocations: 1.195 MB / 0.5031 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.169, allocations: 0.5424 MB / 0.5036 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.169, allocations: 4.062 kB / 0.5036 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.1696, allocations: 391.1 kB / 0.504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.1703, allocations: 97.55 kB / 0.5041 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/0.1773, allocations: 4.663 MB / 0.5086 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.1778, allocations: 0.8419 MB / 0.5095 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.1781, allocations: 63.23 kB / 0.5095 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.1783, allocations: 111.4 kB / 0.5096 GB, free: 4.727 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1783, allocations: 0 / 0.5096 GB, free: 4.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.215, allocations: 11.87 MB / 0.5212 GB, free: 8.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.42, allocations: 12.22 kB / 0.5212 GB, free: 8.836 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches