Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 72.06 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1289, allocations: 62.46 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.0035/0.1324, allocations: 2.017 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.134, allocations: 0.8256 MB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1341, allocations: 4 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1344, allocations: 63.59 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.1348, allocations: 127.4 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1351, allocations: 59.78 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.1354, allocations: 318.6 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.1355, allocations: 32.39 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.1358, allocations: 131.3 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.136, allocations: 147.3 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.136, allocations: 12 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1363, allocations: 127.8 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1364, allocations: 63.69 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1366, allocations: 115.2 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.137, allocations: 339 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.137, allocations: 0 / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1371, allocations: 0 / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1371, allocations: 4 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009294/0.138, allocations: 0.5575 MB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1381, allocations: 8.031 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.579e-05/0.1381, allocations: 70.66 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.1382, allocations: 40.56 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1385, allocations: 248.1 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.1385, allocations: 20.5 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.1386, allocations: 27.98 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.1392, allocations: 393.2 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1392, allocations: 4 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.1393, allocations: 8 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/0.1393, allocations: 24.64 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.1401, allocations: 418.2 kB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1414, allocations: 0.8734 MB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.142, allocations: 270.3 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1422, allocations: 92.77 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.1423, allocations: 16 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1423, allocations: 30.56 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.1423, allocations: 0 / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007472/0.143, allocations: 333.1 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1431, allocations: 55.41 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.1435, allocations: 351.2 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1435, allocations: 33.7 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1436, allocations: 156.2 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.1437, allocations: 55.28 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.1438, allocations: 45.7 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1439, allocations: 346.8 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.1442, allocations: 87.91 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1445, allocations: 145.8 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.145, allocations: 247.6 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.145, allocations: 0 / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006062/0.1456, allocations: 304.9 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1456, allocations: 12.19 kB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1457, allocations: 0 / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1457, allocations: 4 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.1462, allocations: 111.9 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.1483, allocations: 3.672 MB / 493.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1485, allocations: 35.62 kB / 493.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1485, allocations: 11.98 kB / 493.5 MB, free: 7.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.1487, allocations: 176.8 kB / 493.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.1488, allocations: 27.66 kB / 493.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.1494, allocations: 333.6 kB / 494.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1495, allocations: 4 kB / 494.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1495, allocations: 0 / 494.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1495, allocations: 0 / 494.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.1498, allocations: 305.3 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1499, allocations: 3.938 kB / 494.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.1503, allocations: 115.9 kB / 494.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1503, allocations: 0 / 494.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.1504, allocations: 8 kB / 494.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.1523, allocations: 3.665 MB / 498.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1523, allocations: 4 kB / 498.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.1529, allocations: 347 kB / 498.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.153, allocations: 108.7 kB / 498.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.1531, allocations: 4 kB / 498.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1532, allocations: 12.08 kB / 498.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.1533, allocations: 15.98 kB / 498.6 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1533, allocations: 11.92 kB / 498.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002555/0.1536, allocations: 257.9 kB / 498.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 498.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.154, allocations: 79.91 kB / 499 MB, free: 1.676 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008986/0.1549, allocations: 0.9017 MB / 499.9 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009219/0.1558, allocations: 319.7 kB / 0.4885 GB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1558, allocations: 0 / 0.4885 GB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.1564, allocations: 195.7 kB / 0.4886 GB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1568, allocations: 60.92 kB / 0.4887 GB, free: 192 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.1613, allocations: 3.409 MB / 0.492 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1617, allocations: 0.7986 MB / 0.4928 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.1619, allocations: 74.16 kB / 0.4929 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.162, allocations: 75.41 kB / 0.493 GB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.162, allocations: 0 / 0.493 GB, free: 11.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.1901, allocations: 8.415 MB / 0.5012 GB, free: 3.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.36, allocations: 4.938 kB / 0.5012 GB, free: 3.512 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches