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.001086/0.001086, allocations: 114.5 kB / 17.73 MB, free: 5.297 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.001172/0.001172, allocations: 187 kB / 18.67 MB, free: 4.363 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.328/1.328, allocations: 205.1 MB / 224.5 MB, free: 12.17 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.001254/0.001254, allocations: 52.3 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08675, allocations: 46.63 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1777/0.2645, allocations: 5.582 MB / 380.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.2668, allocations: 1.471 MB / 381.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.2671, allocations: 13.75 kB / 381.7 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.2675, allocations: 196.8 kB / 381.9 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.2681, allocations: 391.2 kB / 382.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.2686, allocations: 264.8 kB / 382.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.2699, allocations: 1.367 MB / 383.9 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.2704, allocations: 413.5 kB / 384.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.2709, allocations: 0.512 MB / 384.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.2716, allocations: 0.5811 MB / 385.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.2717, allocations: 118.8 kB / 385.5 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.2719, allocations: 119.7 kB / 385.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.2721, allocations: 256.4 kB / 385.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.2726, allocations: 0.613 MB / 386.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2739, allocations: 1.406 MB / 387.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.274, allocations: 4 kB / 387.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.274, allocations: 1.406 kB / 387.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.274, allocations: 0.6562 kB / 387.9 MB, free: 6.758 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.002281/0.2763, allocations: 1.515 MB / 389.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2763, allocations: 13.16 kB / 389.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.2765, allocations: 130.6 kB / 389.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.2767, allocations: 134.6 kB / 389.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.2776, allocations: 0.6439 MB / 390.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.2778, allocations: 152.8 kB / 390.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.2779, allocations: 71.97 kB / 390.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.2792, allocations: 0.9877 MB / 391.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2792, allocations: 1.562 kB / 391.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.2793, allocations: 37.53 kB / 391.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2793, allocations: 16.47 kB / 391.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.2806, allocations: 0.6284 MB / 392.2 MB, free: 4.098 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.003733/0.2843, allocations: 2.655 MB / 394.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.2867, allocations: 0.8772 MB / 395.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.2874, allocations: 351.5 kB / 396.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.795e-05/0.2875, allocations: 14.53 kB / 396.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2875, allocations: 47.06 kB / 396.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/0.2875, allocations: 0 / 396.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.0025/0.2901, allocations: 1.408 MB / 397.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002289/0.2903, allocations: 0.9583 MB / 398.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2915, allocations: 0.7814 MB / 399.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.2916, allocations: 41.73 kB / 399.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.292, allocations: 424.7 kB / 399.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.2923, allocations: 264.5 kB / 400 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.2926, allocations: 162.4 kB / 400.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.2928, allocations: 343.3 kB / 400.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.2934, allocations: 252.9 kB / 400.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.2943, allocations: 0.583 MB / 401.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2954, allocations: 0.6598 MB / 402 MB, free: 13.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2955, allocations: 1.438 kB / 402 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001851/0.2973, allocations: 0.9513 MB / 403 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.106e-05/0.2974, allocations: 92.73 kB / 403.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2974, allocations: 2.203 kB / 403.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.2978, allocations: 128.4 kB / 403.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.2985, allocations: 152.7 kB / 403.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.3041, allocations: 7.325 MB / 410.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.3053, allocations: 111.9 kB / 410.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.3054, allocations: 31.45 kB / 410.8 MB, free: 5.559 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.0004673/0.3059, allocations: 240.7 kB / 411 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.3061, allocations: 112.4 kB / 411.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.3063, allocations: 100.7 kB / 411.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3063, allocations: 6.625 kB / 411.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3063, allocations: 0 / 411.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.3078, allocations: 0.9739 MB / 412.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.3107, allocations: 1.754 MB / 414 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3107, allocations: 1.125 kB / 414 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.3114, allocations: 155.8 kB / 414.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.3116, allocations: 25.72 kB / 414.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.3116, allocations: 11.75 kB / 414.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.3127, allocations: 1.407 MB / 415.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3127, allocations: 0 / 415.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.3147, allocations: 1.083 MB / 416.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.3152, allocations: 269.2 kB / 416.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3153, allocations: 23.72 kB / 417 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.316, allocations: 39.06 kB / 417 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3161, allocations: 41.56 kB / 417 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.3161, allocations: 17.19 kB / 417.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006947/0.3168, allocations: 0.5502 MB / 417.6 MB, free: 444 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3168, allocations: 0 / 417.6 MB, free: 444 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008378/0.3177, allocations: 297.4 kB / 417.9 MB, free: 396 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.002264/0.3199, allocations: 1.654 MB / 419.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.3221, allocations: 1.4 MB / 420.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3221, allocations: 2.75 kB / 420.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.3228, allocations: 416.8 kB / 421.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.3241, allocations: 279.9 kB / 421.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.3354, allocations: 7.855 MB / 429.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.336, allocations: 0.9836 MB / 430.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006802/0.3367, allocations: 127.5 kB / 430.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.3372, allocations: 355.3 kB / 430.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3372, allocations: 0 / 430.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.3977, allocations: 26.28 MB / 457.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.83, allocations: 7.938 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