Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.001735/0.001735, allocations: 105.3 kB / 17.58 MB, free: 5.445 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.002286/0.002286, allocations: 191.9 kB / 18.51 MB, free: 4.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.581/2.581, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002687/0.002687, allocations: 55.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1555, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.0128/0.1684, allocations: 5.192 MB / 332.6 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.1734, allocations: 1.368 MB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.1749, allocations: 12 kB / 334 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1761, allocations: 170.5 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.1783, allocations: 333.1 kB / 334.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009746/0.1793, allocations: 243.6 kB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.1816, allocations: 1.223 MB / 335.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007163/0.1824, allocations: 334.1 kB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008984/0.1833, allocations: 470.4 kB / 336.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009063/0.1842, allocations: 0.5252 MB / 337.2 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.1845, allocations: 108 kB / 337.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.1848, allocations: 112 kB / 337.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.1851, allocations: 235.2 kB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008675/0.186, allocations: 0.5405 MB / 338.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1878, allocations: 1.234 MB / 339.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1878, allocations: 0 / 339.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.1879, allocations: 4 kB / 339.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.1879, allocations: 3.938 kB / 339.4 MB, free: 8.234 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00392/0.1918, allocations: 1.391 MB / 340.8 MB, free: 6.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.1919, allocations: 12.03 kB / 340.8 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/0.1922, allocations: 123.8 kB / 341 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.1925, allocations: 111.7 kB / 341.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.1942, allocations: 0.5986 MB / 341.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.1947, allocations: 174.9 kB / 341.8 MB, free: 5.691 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.1949, allocations: 64.38 kB / 341.9 MB, free: 5.629 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.1974, allocations: 0.9211 MB / 342.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.1975, allocations: 0 / 342.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.1976, allocations: 28 kB / 342.9 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.1977, allocations: 16 kB / 342.9 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.2002, allocations: 0.6609 MB / 343.5 MB, free: 3.902 MB / 286.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.005986/0.2062, allocations: 2.221 MB / 345.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.2091, allocations: 1.018 MB / 346.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.2105, allocations: 427.3 kB / 347.2 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.2107, allocations: 20.64 kB / 347.2 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.2107, allocations: 47.16 kB / 347.3 MB, free: 0 / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 3.286e-06/0.2107, allocations: 0 / 347.3 MB, free: 0 / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.008234/0.219, allocations: 1.871 MB / 349.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004884/0.2195, allocations: 0.8234 MB / 349.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.221, allocations: 0.6646 MB / 350.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.2212, allocations: 49.69 kB / 350.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.2217, allocations: 356.9 kB / 351 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/0.2222, allocations: 276 kB / 351.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.2227, allocations: 142.7 kB / 351.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000407/0.2231, allocations: 341.9 kB / 351.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2243, allocations: 289.8 kB / 352 MB, free: 10.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.226, allocations: 0.5741 MB / 352.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.2284, allocations: 0.7285 MB / 353.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.2284, allocations: 3.984 kB / 353.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004343/0.2327, allocations: 1.153 MB / 354.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.2329, allocations: 81.11 kB / 354.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.2329, allocations: 0 / 354.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.2339, allocations: 239.1 kB / 354.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2351, allocations: 155.8 kB / 355 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.2459, allocations: 6.927 MB / 361.9 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.2473, allocations: 119.2 kB / 362 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.2475, allocations: 23.94 kB / 362 MB, free: 140 kB / 302.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 (73): * Single equations (assignments): 66 * 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.0005446/0.2481, allocations: 233.8 kB / 362.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.2483, allocations: 83.06 kB / 362.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.2485, allocations: 92.53 kB / 362.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2485, allocations: 12 kB / 362.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.2485, allocations: 0 / 362.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002916/0.2515, allocations: 1.299 MB / 363.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/0.2565, allocations: 2.019 MB / 365.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.2565, allocations: 0 / 365.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.2574, allocations: 151.8 kB / 365.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000646/0.2581, allocations: 206.6 kB / 366.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.2581, allocations: 19.94 kB / 366.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009959/0.2681, allocations: 5.345 MB / 371.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2682, allocations: 3.938 kB / 371.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/0.273, allocations: 1.484 MB / 373 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.2737, allocations: 251.8 kB / 373.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.2739, allocations: 20 kB / 373.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.2751, allocations: 63.94 kB / 373.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.2755, allocations: 64.56 kB / 373.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.2756, allocations: 16 kB / 373.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.2767, allocations: 479 kB / 373.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2767, allocations: 0 / 373.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001826/0.2786, allocations: 295.6 kB / 374.1 MB, free: 3.375 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (65): * Single equations (assignments): 62 * 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.006843/0.2854, allocations: 2.056 MB / 376.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.2633/0.5488, allocations: 1.427 MB / 377.6 MB, free: 53.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.5489, allocations: 1.406 kB / 377.6 MB, free: 53.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.5517, allocations: 0.7977 MB / 378.4 MB, free: 53.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.5541, allocations: 235.1 kB / 378.6 MB, free: 53.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/0.5797, allocations: 8.415 MB / 387 MB, free: 49.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/0.5804, allocations: 0.9638 MB / 388 MB, free: 48.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008654/0.5813, allocations: 104.4 kB / 388.1 MB, free: 48.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.5819, allocations: 320.3 kB / 388.4 MB, free: 48.59 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5819, allocations: 0 / 388.4 MB, free: 48.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09151/0.6734, allocations: 26.31 MB / 414.7 MB, free: 28.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/19.38, allocations: 12.36 kB / 414.7 MB, free: 28.06 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches