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.001829/0.001829, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004251/0.3399, allocations: 2.016 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3416, allocations: 0.8352 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3417, allocations: 9.312 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.3421, allocations: 66.84 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.3426, allocations: 118.8 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3429, allocations: 60.42 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.3434, allocations: 321 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.3435, allocations: 32.84 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.3438, allocations: 130.7 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.344, allocations: 144.2 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3441, allocations: 12.31 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.3444, allocations: 127.7 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3445, allocations: 74.5 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3447, allocations: 113.5 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.3453, allocations: 339.4 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3453, allocations: 0 / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.3453, allocations: 0 / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3453, allocations: 5.312 kB / 0.5349 GB, free: 10.2 MB / 398.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.0009795/0.3463, allocations: 0.5751 MB / 0.5354 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3464, allocations: 9.625 kB / 0.5355 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.3465, allocations: 65.72 kB / 0.5355 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.3465, allocations: 31.28 kB / 0.5355 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.3469, allocations: 250.7 kB / 0.5358 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3469, allocations: 14.62 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.347, allocations: 28.89 kB / 0.5358 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.3477, allocations: 398.2 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3477, allocations: 0 / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3477, allocations: 6.281 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.3478, allocations: 33.25 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.3485, allocations: 411.4 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.35, allocations: 0.8673 MB / 0.5375 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.3506, allocations: 273.2 kB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.3508, allocations: 94.11 kB / 0.5378 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3509, allocations: 11.17 kB / 0.5378 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3509, allocations: 35.62 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3509, allocations: 0 / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.00081/0.3518, allocations: 343 kB / 0.5382 GB, free: 7.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3518, allocations: 52.59 kB / 0.5383 GB, free: 7.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.3522, allocations: 346.9 kB / 0.5386 GB, free: 7.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3522, allocations: 25.7 kB / 0.5386 GB, free: 7.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3524, allocations: 171 kB / 0.5388 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.3524, allocations: 50.94 kB / 0.5388 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.3525, allocations: 59.11 kB / 0.5389 GB, free: 7.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3527, allocations: 342.7 kB / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3529, allocations: 86.94 kB / 0.5393 GB, free: 6.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.3531, allocations: 139.9 kB / 0.5394 GB, free: 6.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.3536, allocations: 250.5 kB / 0.5397 GB, free: 6.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3536, allocations: 5.094 kB / 0.5397 GB, free: 6.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005519/0.3542, allocations: 300.8 kB / 0.54 GB, free: 6.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3542, allocations: 5.5 kB / 0.54 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3542, allocations: 2.312 kB / 0.54 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3542, allocations: 6.016 kB / 0.54 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.3548, allocations: 120.8 kB / 0.5401 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.357, allocations: 3.665 MB / 0.5437 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.3573, allocations: 34.28 kB / 0.5437 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3573, allocations: 19.42 kB / 0.5437 GB, free: 2.879 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.0002153/0.3575, allocations: 171.1 kB / 0.5439 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.3576, allocations: 30.75 kB / 0.5439 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/0.3583, allocations: 321.6 kB / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3583, allocations: 5.281 kB / 0.5442 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3583, allocations: 4 kB / 0.5442 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3583, allocations: 1.625 kB / 0.5442 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.3587, allocations: 299.8 kB / 0.5445 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3587, allocations: 5.031 kB / 0.5445 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.3592, allocations: 114.4 kB / 0.5446 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3592, allocations: 1.156 kB / 0.5446 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3592, allocations: 7.438 kB / 0.5446 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.3616, allocations: 3.666 MB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3616, allocations: 0 / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.3622, allocations: 369.3 kB / 0.5486 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3623, allocations: 111.3 kB / 0.5487 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.3623, allocations: 1.125 kB / 0.5487 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3625, allocations: 7.438 kB / 0.5487 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.3626, allocations: 15.12 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3626, allocations: 9.625 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.3629, allocations: 252.3 kB / 0.5489 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3629, allocations: 4 kB / 0.5489 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.3633, allocations: 72.5 kB / 0.549 GB, free: 14.04 MB / 414.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.001025/0.3643, allocations: 0.9075 MB / 0.5499 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009111/0.3652, allocations: 306.7 kB / 0.5502 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3653, allocations: 384 / 0.5502 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.3658, allocations: 191.8 kB / 0.5504 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3663, allocations: 76.23 kB / 0.5504 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.3709, allocations: 3.382 MB / 0.5537 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.3714, allocations: 0.7987 MB / 0.5545 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.3715, allocations: 70.22 kB / 0.5546 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3717, allocations: 77.44 kB / 0.5547 GB, free: 8.246 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3717, allocations: 0 / 0.5547 GB, free: 8.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.4046, allocations: 8.556 MB / 0.563 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.66, allocations: 11.84 kB / 0.563 GB, free: 15.94 MB / 430.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