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.001439/0.001439, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3445, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002944/0.3474, allocations: 2.005 MB / 0.5325 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3488, allocations: 0.8405 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.3489, allocations: 5.156 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3492, allocations: 70.05 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.3496, allocations: 126.8 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3499, allocations: 60.11 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.3502, allocations: 317.1 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.3503, allocations: 33.58 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.3505, allocations: 130 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3507, allocations: 143.8 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3508, allocations: 8.25 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.351, allocations: 136.2 kB / 0.5343 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3511, allocations: 71 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3512, allocations: 109.8 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.3516, allocations: 341.7 kB / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3516, allocations: 5.344 kB / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3516, allocations: 0 / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3516, allocations: 0 / 0.5348 GB, free: 10.27 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.0008205/0.3525, allocations: 0.5711 MB / 0.5354 GB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3525, allocations: 10.09 kB / 0.5354 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.3526, allocations: 70.23 kB / 0.5354 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.3527, allocations: 31 kB / 0.5355 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3529, allocations: 254.5 kB / 0.5357 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.353, allocations: 18.75 kB / 0.5357 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.353, allocations: 25.17 kB / 0.5357 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.3537, allocations: 396.9 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3537, allocations: 4 kB / 0.5361 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.3537, allocations: 10.22 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.3538, allocations: 30.34 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.3545, allocations: 407 kB / 0.5366 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3559, allocations: 0.8746 MB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.3565, allocations: 280.2 kB / 0.5377 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3567, allocations: 92.86 kB / 0.5378 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3568, allocations: 6.297 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3568, allocations: 35.66 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.3568, allocations: 1.094 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007654/0.3576, allocations: 341.2 kB / 0.5381 GB, free: 7.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3576, allocations: 52.97 kB / 0.5382 GB, free: 7.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.358, allocations: 342.5 kB / 0.5385 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.358, allocations: 35.59 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3582, allocations: 165.8 kB / 0.5387 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.3582, allocations: 58.56 kB / 0.5388 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/0.3583, allocations: 46.86 kB / 0.5388 GB, free: 7.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3585, allocations: 346.7 kB / 0.5391 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3587, allocations: 94.92 kB / 0.5392 GB, free: 7.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3589, allocations: 131.3 kB / 0.5394 GB, free: 6.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.3594, allocations: 254.8 kB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3594, allocations: 1.312 kB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000553/0.36, allocations: 305.4 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.36, allocations: 5.25 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.36, allocations: 1.312 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.36, allocations: 7.719 kB / 0.5399 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.3605, allocations: 116.5 kB / 0.54 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.3625, allocations: 3.668 MB / 0.5436 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3628, allocations: 37.83 kB / 0.5436 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3628, allocations: 8.625 kB / 0.5436 GB, free: 2.941 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.0002831/0.3631, allocations: 178.1 kB / 0.5438 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.3632, allocations: 31 kB / 0.5438 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/0.364, allocations: 324.9 kB / 0.5441 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.364, allocations: 1.094 kB / 0.5441 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.364, allocations: 9.062 kB / 0.5442 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.364, allocations: 0 / 0.5442 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.3644, allocations: 297.2 kB / 0.5444 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3644, allocations: 3.938 kB / 0.5444 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.3648, allocations: 107 kB / 0.5445 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3649, allocations: 1.062 kB / 0.5445 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3649, allocations: 11.41 kB / 0.5446 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.3668, allocations: 3.667 MB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3668, allocations: 0 / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.3674, allocations: 363 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.3675, allocations: 109.9 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.3675, allocations: 1.156 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3677, allocations: 13.02 kB / 0.5486 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.3678, allocations: 18.66 kB / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3678, allocations: 5.562 kB / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.368, allocations: 256.1 kB / 0.5489 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.368, allocations: 0 / 0.5489 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.3684, allocations: 71.78 kB / 0.5489 GB, free: 14.1 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.0009539/0.3694, allocations: 0.9152 MB / 0.5498 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.3703, allocations: 309.1 kB / 0.5501 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3703, allocations: 0 / 0.5501 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.3709, allocations: 192.2 kB / 0.5503 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3713, allocations: 72.27 kB / 0.5504 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.3754, allocations: 3.376 MB / 0.5537 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3758, allocations: 0.7987 MB / 0.5545 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3759, allocations: 70.22 kB / 0.5545 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3761, allocations: 79.41 kB / 0.5546 GB, free: 8.367 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3761, allocations: 0 / 0.5546 GB, free: 8.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.4029, allocations: 8.556 MB / 0.563 GB, free: 72 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 4.812 kB / 0.563 GB, free: 68 kB / 414.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