Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001024/0.001024, allocations: 112.3 kB / 17.73 MB, free: 5.215 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.001114/0.001114, allocations: 188.1 kB / 18.66 MB, free: 4.289 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.355/1.355, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.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.001375/0.001375, allocations: 59.86 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.0922, allocations: 46.61 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.193/0.2852, allocations: 5.592 MB / 380.2 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.2878, allocations: 1.466 MB / 381.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.2883, allocations: 13.44 kB / 381.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.2889, allocations: 196.4 kB / 381.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.2897, allocations: 393.5 kB / 382.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.2903, allocations: 263.8 kB / 382.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.2919, allocations: 1.368 MB / 383.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.2924, allocations: 413.4 kB / 384.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.2931, allocations: 0.5112 MB / 384.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.2937, allocations: 0.5838 MB / 385.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.2939, allocations: 117.1 kB / 385.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.2941, allocations: 121.5 kB / 385.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.2943, allocations: 259.1 kB / 385.9 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.2948, allocations: 0.6157 MB / 386.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2963, allocations: 1.404 MB / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2963, allocations: 0.5625 kB / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2963, allocations: 0 / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.2964, allocations: 0 / 387.9 MB, free: 6.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002453/0.2988, allocations: 1.52 MB / 389.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2989, allocations: 13.5 kB / 389.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.2991, allocations: 129.2 kB / 389.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.2993, allocations: 136.5 kB / 389.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000841/0.3001, allocations: 0.6408 MB / 390.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.3003, allocations: 156.8 kB / 390.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.3004, allocations: 72.09 kB / 390.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.3018, allocations: 0.9934 MB / 391.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.3019, allocations: 1.125 kB / 391.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.302, allocations: 33.91 kB / 391.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.302, allocations: 16.41 kB / 391.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.3035, allocations: 0.623 MB / 392.2 MB, free: 4.109 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005115/0.3086, allocations: 2.648 MB / 394.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.3112, allocations: 0.8764 MB / 395.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/0.312, allocations: 351.7 kB / 396.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.3121, allocations: 21.36 kB / 396.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3121, allocations: 46.78 kB / 396.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.975e-06/0.3121, allocations: 1.125 kB / 396.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002716/0.3148, allocations: 1.408 MB / 397.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003958/0.3153, allocations: 0.9546 MB / 398.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.3168, allocations: 0.7826 MB / 399.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.3171, allocations: 40.73 kB / 399.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.3175, allocations: 431.3 kB / 399.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.3179, allocations: 262.7 kB / 400 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.3182, allocations: 160 kB / 400.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3184, allocations: 335.9 kB / 400.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.319, allocations: 255.3 kB / 400.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/0.3199, allocations: 0.5863 MB / 401.4 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.3211, allocations: 0.661 MB / 402 MB, free: 13.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3212, allocations: 4 kB / 402 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001907/0.3231, allocations: 0.9502 MB / 403 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/0.3232, allocations: 102.8 kB / 403.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3232, allocations: 0.8125 kB / 403.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.3236, allocations: 120.3 kB / 403.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.3243, allocations: 150.5 kB / 403.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.3303, allocations: 7.329 MB / 410.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.3316, allocations: 113.5 kB / 410.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.3317, allocations: 29.02 kB / 410.8 MB, free: 5.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005268/0.3322, allocations: 240.9 kB / 411 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.3325, allocations: 109 kB / 411.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.3326, allocations: 103.9 kB / 411.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3327, allocations: 6.781 kB / 411.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.3327, allocations: 1.125 kB / 411.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/0.3342, allocations: 0.9699 MB / 412.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3371, allocations: 1.756 MB / 414 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.3371, allocations: 1.062 kB / 414 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.3379, allocations: 159.9 kB / 414.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.338, allocations: 29.88 kB / 414.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.338, allocations: 10.94 kB / 414.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000951/0.339, allocations: 1.407 MB / 415.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.339, allocations: 0 / 415.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.341, allocations: 1.078 MB / 416.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.3415, allocations: 265.2 kB / 416.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.3416, allocations: 19.81 kB / 417 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.3423, allocations: 40.16 kB / 417 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.3424, allocations: 44.34 kB / 417 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.3425, allocations: 17.34 kB / 417 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008615/0.3433, allocations: 0.5496 MB / 417.6 MB, free: 432 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3433, allocations: 7 kB / 417.6 MB, free: 428 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001015/0.3444, allocations: 295.3 kB / 417.9 MB, free: 380 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002531/0.3469, allocations: 1.646 MB / 419.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.3491, allocations: 1.401 MB / 420.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.3491, allocations: 1.406 kB / 420.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.3498, allocations: 417.1 kB / 421.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.3511, allocations: 290.7 kB / 421.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.3627, allocations: 7.854 MB / 429.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.3634, allocations: 0.9797 MB / 430.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006168/0.364, allocations: 127.5 kB / 430.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.3645, allocations: 355.3 kB / 430.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3645, allocations: 0 / 430.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06425/0.4288, allocations: 26.27 MB / 457.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/13.93, allocations: 12 kB / 457.2 MB, free: 10.26 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches