Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2297, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006493/0.2362, allocations: 5.213 MB / 414 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.2388, allocations: 1.367 MB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.2391, allocations: 11.94 kB / 415.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.2396, allocations: 166.5 kB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.2402, allocations: 333.1 kB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2407, allocations: 243.6 kB / 416.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.242, allocations: 1.226 MB / 417.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.2425, allocations: 334.2 kB / 417.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.2431, allocations: 474.3 kB / 418.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006377/0.2437, allocations: 0.533 MB / 418.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.2439, allocations: 108 kB / 418.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2441, allocations: 112 kB / 418.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.2443, allocations: 235.2 kB / 419.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.2448, allocations: 0.5405 MB / 419.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2461, allocations: 1.256 MB / 420.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2461, allocations: 7.938 kB / 420.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2461, allocations: 0 / 420.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.2461, allocations: 0 / 420.9 MB, free: 5.355 MB / 334.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.002559/0.2487, allocations: 1.41 MB / 422.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2487, allocations: 11.97 kB / 422.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.2489, allocations: 131.9 kB / 422.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2491, allocations: 120.3 kB / 422.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.2502, allocations: 0.6071 MB / 423.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.2504, allocations: 147 kB / 423.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2505, allocations: 64.38 kB / 423.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.2521, allocations: 0.9016 MB / 424.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2521, allocations: 4 kB / 424.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.2522, allocations: 28 kB / 424.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2523, allocations: 16 kB / 424.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.2537, allocations: 0.6375 MB / 424.9 MB, free: 1.043 MB / 334.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.003675/0.2574, allocations: 2.206 MB / 427.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.2591, allocations: 1.006 MB / 428.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/0.26, allocations: 411.3 kB / 428.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/0.2601, allocations: 28.62 kB / 428.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.2601, allocations: 43.22 kB / 428.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.454e-06/0.2601, allocations: 0 / 428.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.00515/0.2653, allocations: 1.84 MB / 430.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004418/0.2657, allocations: 0.8195 MB / 431.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.2666, allocations: 0.6685 MB / 432 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.2667, allocations: 49.64 kB / 432 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.267, allocations: 365.3 kB / 432.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.2672, allocations: 277.5 kB / 432.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.2675, allocations: 152.5 kB / 432.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2677, allocations: 330 kB / 433.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.2684, allocations: 285.8 kB / 433.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000959/0.2693, allocations: 0.5663 MB / 433.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.2707, allocations: 0.6974 MB / 434.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2708, allocations: 0 / 434.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0027/0.2735, allocations: 1.13 MB / 435.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.2735, allocations: 85.11 kB / 435.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2736, allocations: 0 / 435.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.2742, allocations: 239.2 kB / 436.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.2749, allocations: 147.8 kB / 436.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008343/0.2833, allocations: 6.943 MB / 443.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.2841, allocations: 99.55 kB / 443.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.2842, allocations: 31.86 kB / 443.3 MB, free: 13.43 MB / 366.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.0003669/0.2846, allocations: 217.8 kB / 443.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2847, allocations: 99.44 kB / 443.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.2849, allocations: 96.52 kB / 443.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.2849, allocations: 11.94 kB / 443.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2849, allocations: 0 / 443.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002563/0.2875, allocations: 1.264 MB / 445 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.2915, allocations: 1.998 MB / 447 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2915, allocations: 0 / 447 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.2923, allocations: 147.8 kB / 447.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.2928, allocations: 202.4 kB / 447.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.2929, allocations: 15.98 kB / 447.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006896/0.2998, allocations: 5.349 MB / 452.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2998, allocations: 0 / 452.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.3032, allocations: 1.442 MB / 454.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.3036, allocations: 244.4 kB / 454.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.3038, allocations: 23.98 kB / 454.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.3044, allocations: 51.95 kB / 454.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.3046, allocations: 64.56 kB / 454.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.3047, allocations: 20 kB / 454.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006174/0.3053, allocations: 475 kB / 455 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3053, allocations: 4 kB / 455 MB, free: 1.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008723/0.3062, allocations: 291.7 kB / 455.3 MB, free: 0.7812 MB / 366.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.003783/0.31, allocations: 2.025 MB / 457.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.3124, allocations: 1.383 MB / 458.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.3124, allocations: 4.125 kB / 458.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.3139, allocations: 0.7807 MB / 459.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.315, allocations: 251 kB / 459.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.3289, allocations: 7.831 MB / 467.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.3296, allocations: 0.9597 MB / 468.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004957/0.3301, allocations: 102.7 kB / 468.6 MB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.3306, allocations: 319.3 kB / 468.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3306, allocations: 4 kB / 468.9 MB, free: 2.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/0.4032, allocations: 26.6 MB / 495.5 MB, free: 8.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.54, allocations: 15.06 kB / 495.5 MB, free: 8.547 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches