Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.001261/0.001261, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001274/0.001275, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.414/1.414, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001703/0.001703, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09869, allocations: 46.62 MB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006946/0.1057, allocations: 4.933 MB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1914/0.2972, allocations: 1.328 MB / 380.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.2979, allocations: 10.59 kB / 380.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.2985, allocations: 158.8 kB / 381.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009271/0.2994, allocations: 321.7 kB / 381.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.3, allocations: 230.8 kB / 381.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.3015, allocations: 1.154 MB / 382.8 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.3021, allocations: 333.5 kB / 383.1 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.3029, allocations: 445.2 kB / 383.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008861/0.3038, allocations: 0.4939 MB / 384 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.304, allocations: 101.9 kB / 384.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.3044, allocations: 107.4 kB / 384.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.3046, allocations: 227.1 kB / 384.5 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.3052, allocations: 0.5126 MB / 385 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.3063, allocations: 1.187 MB / 386.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3063, allocations: 0 / 386.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3063, allocations: 3.938 kB / 386.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.3064, allocations: 1.812 kB / 386.2 MB, free: 7.418 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002167/0.3085, allocations: 1.335 MB / 387.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3086, allocations: 10.97 kB / 387.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.3088, allocations: 120.1 kB / 387.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.309, allocations: 115.9 kB / 387.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.3098, allocations: 0.5506 MB / 388.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.31, allocations: 152.4 kB / 388.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.3101, allocations: 62.34 kB / 388.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3114, allocations: 0.854 MB / 389.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3115, allocations: 1.766 kB / 389.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.3115, allocations: 32.38 kB / 389.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3116, allocations: 18.75 kB / 389.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.3128, allocations: 0.5595 MB / 390 MB, free: 5.055 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.003224/0.316, allocations: 2.133 MB / 392.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3176, allocations: 0.9662 MB / 393.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.3183, allocations: 373.7 kB / 393.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.654e-05/0.3184, allocations: 15.88 kB / 393.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3184, allocations: 51.2 kB / 393.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.3185, allocations: 11.92 kB / 393.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004626/0.3231, allocations: 1.74 MB / 395.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.3233, allocations: 0.8226 MB / 396.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.3241, allocations: 0.6373 MB / 396.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.3241, allocations: 41.58 kB / 396.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3244, allocations: 347.1 kB / 397.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3246, allocations: 267.5 kB / 397.3 MB, free: 432 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.3248, allocations: 140.4 kB / 397.5 MB, free: 364 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3249, allocations: 393 kB / 397.9 MB, free: 4 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.3257, allocations: 265.3 kB / 398.1 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3268, allocations: 0.5466 MB / 398.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.328, allocations: 0.6374 MB / 399.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.328, allocations: 0.8438 kB / 399.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002486/0.3305, allocations: 1.052 MB / 400.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.3306, allocations: 85.81 kB / 400.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3306, allocations: 4 kB / 400.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007137/0.3314, allocations: 236.9 kB / 400.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.3319, allocations: 128.8 kB / 400.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008918/0.3409, allocations: 6.935 MB / 407.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.342, allocations: 95.98 kB / 407.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.3421, allocations: 22.38 kB / 407.9 MB, free: 8.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004422/0.3425, allocations: 228 kB / 408.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.3427, allocations: 97.22 kB / 408.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.3429, allocations: 93.23 kB / 408.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3429, allocations: 7.562 kB / 408.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.3429, allocations: 1.406 kB / 408.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002472/0.3454, allocations: 1.189 MB / 409.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.3493, allocations: 1.873 MB / 411.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3494, allocations: 2 kB / 411.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.35, allocations: 124.3 kB / 411.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/0.3506, allocations: 205.9 kB / 411.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.3507, allocations: 15.67 kB / 411.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006942/0.3576, allocations: 5.313 MB / 417 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3576, allocations: 5.031 kB / 417 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/0.3608, allocations: 1.311 MB / 418.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.3613, allocations: 245.8 kB / 418.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.3615, allocations: 20.34 kB / 418.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.3621, allocations: 44.62 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.3623, allocations: 55.77 kB / 418.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.3623, allocations: 25.61 kB / 418.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005978/0.3629, allocations: 454.9 kB / 419.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3629, allocations: 0 / 419.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009602/0.3639, allocations: 283.9 kB / 419.4 MB, free: 15.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003308/0.3672, allocations: 1.902 MB / 421.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.3695, allocations: 1.292 MB / 422.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.3696, allocations: 2.75 kB / 422.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3706, allocations: 0.6974 MB / 423.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3718, allocations: 232.9 kB / 423.5 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.385, allocations: 7.456 MB / 431 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.3857, allocations: 0.94 MB / 431.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.3863, allocations: 110.4 kB / 432 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.3867, allocations: 291.3 kB / 432.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of SimCode: time 4.92e-06/0.3867, allocations: 0 / 432.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07031/0.457, allocations: 25.43 MB / 457.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.64, allocations: 7.734 kB / 457.8 MB, free: 9.465 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches