Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001791/0.001791, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2121/0.2121, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3373, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002868/0.3402, allocations: 1.992 MB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3414, allocations: 0.8034 MB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.3415, allocations: 1.875 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3418, allocations: 70.61 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.3421, allocations: 118 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3423, allocations: 68.72 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.3427, allocations: 313.9 kB / 0.5217 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.3428, allocations: 40.55 kB / 0.5218 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.343, allocations: 127.1 kB / 0.5219 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3432, allocations: 149.5 kB / 0.522 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.3433, allocations: 13.06 kB / 0.522 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.3436, allocations: 118.4 kB / 0.5222 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.3437, allocations: 64.09 kB / 0.5222 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3438, allocations: 113.3 kB / 0.5223 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.3443, allocations: 349.4 kB / 0.5227 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3443, allocations: 0 / 0.5227 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3443, allocations: 1.156 kB / 0.5227 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3443, allocations: 4 kB / 0.5227 GB, free: 0.6914 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000785/0.3451, allocations: 0.57 MB / 0.5232 GB, free: 212 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3452, allocations: 10.97 kB / 0.5232 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.3453, allocations: 65.19 kB / 0.5233 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.3453, allocations: 31.31 kB / 0.5233 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3456, allocations: 251.3 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3456, allocations: 19.59 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.3457, allocations: 21.3 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.3464, allocations: 396.7 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3464, allocations: 3.938 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.3465, allocations: 13.88 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/0.3465, allocations: 26.77 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.3473, allocations: 407.3 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3487, allocations: 0.8765 MB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.3494, allocations: 275 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3496, allocations: 93.64 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3496, allocations: 8.109 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3497, allocations: 32.39 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3497, allocations: 4 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008214/0.3505, allocations: 340.7 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3506, allocations: 57.97 kB / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.351, allocations: 346 kB / 0.5264 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.351, allocations: 31.08 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3511, allocations: 158.1 kB / 0.5266 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.3512, allocations: 58.41 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.3513, allocations: 55.64 kB / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3515, allocations: 343 kB / 0.527 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3517, allocations: 90.91 kB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3519, allocations: 141.2 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.3524, allocations: 253.1 kB / 0.5275 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3524, allocations: 0 / 0.5275 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005962/0.353, allocations: 291.5 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3531, allocations: 6.75 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3531, allocations: 9.203 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3531, allocations: 2.562 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.3536, allocations: 120.6 kB / 0.5279 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.356, allocations: 3.669 MB / 0.5314 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3562, allocations: 42.44 kB / 0.5315 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3563, allocations: 8.5 kB / 0.5315 GB, free: 9.891 MB / 398.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.0002473/0.3565, allocations: 177.8 kB / 0.5317 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.3566, allocations: 31.12 kB / 0.5317 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.3573, allocations: 332.4 kB / 0.532 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3573, allocations: 2.25 kB / 0.532 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3573, allocations: 0 / 0.532 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3573, allocations: 5.109 kB / 0.532 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.3578, allocations: 297.1 kB / 0.5323 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3578, allocations: 3.938 kB / 0.5323 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.3583, allocations: 102.8 kB / 0.5324 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3583, allocations: 1.125 kB / 0.5324 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3583, allocations: 11.39 kB / 0.5324 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.3609, allocations: 3.67 MB / 0.536 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3609, allocations: 1.531 kB / 0.536 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.3615, allocations: 356.8 kB / 0.5363 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3616, allocations: 107 kB / 0.5364 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3617, allocations: 1.25 kB / 0.5364 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3618, allocations: 12.36 kB / 0.5365 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.3619, allocations: 11.02 kB / 0.5365 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.362, allocations: 9.938 kB / 0.5365 GB, free: 5.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.3623, allocations: 263.7 kB / 0.5367 GB, free: 5.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.3623, allocations: 0 / 0.5367 GB, free: 5.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3627, allocations: 80.23 kB / 0.5368 GB, free: 5.039 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 (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.001067/0.3638, allocations: 0.9013 MB / 0.5377 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.3647, allocations: 309.6 kB / 0.538 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3647, allocations: 4 kB / 0.538 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.3653, allocations: 190.4 kB / 0.5382 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3657, allocations: 63.62 kB / 0.5382 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.3704, allocations: 3.384 MB / 0.5415 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.371, allocations: 0.8024 MB / 0.5423 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.3712, allocations: 68.62 kB / 0.5424 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3713, allocations: 76.12 kB / 0.5424 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3713, allocations: 0 / 0.5424 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.4057, allocations: 8.561 MB / 0.5508 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.14, allocations: 21.12 kB / 0.5508 GB, free: 10.43 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches