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.001287/0.001287, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2376, allocations: 50.53 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005349/0.243, allocations: 5.225 MB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.2452, allocations: 1.359 MB / 415.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.2455, allocations: 12 kB / 415.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.2459, allocations: 166.5 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.2465, allocations: 345.1 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.2469, allocations: 243.6 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.248, allocations: 1.227 MB / 417.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.2485, allocations: 338.1 kB / 417.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.249, allocations: 474.3 kB / 418.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.2495, allocations: 0.533 MB / 418.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2496, allocations: 108 kB / 418.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.2498, allocations: 112 kB / 418.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.2499, allocations: 227.2 kB / 419.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.2504, allocations: 0.5444 MB / 419.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2515, allocations: 1.256 MB / 420.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2515, allocations: 8 kB / 420.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2515, allocations: 0 / 420.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.2515, allocations: 0 / 420.9 MB, free: 5.367 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.002317/0.2538, allocations: 1.41 MB / 422.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2539, allocations: 8.031 kB / 422.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.2541, allocations: 123.9 kB / 422.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.2543, allocations: 120.3 kB / 422.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.2552, allocations: 0.611 MB / 423.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2554, allocations: 151 kB / 423.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.2555, allocations: 64.38 kB / 423.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2569, allocations: 0.9016 MB / 424.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2569, allocations: 3.984 kB / 424.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.257, allocations: 28 kB / 424.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.257, allocations: 23.98 kB / 424.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.2584, allocations: 0.6297 MB / 424.9 MB, free: 1.059 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.003168/0.2616, allocations: 2.206 MB / 427.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.2632, allocations: 1.011 MB / 428.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/0.2641, allocations: 423.2 kB / 428.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.2641, allocations: 12.66 kB / 428.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2642, allocations: 51.16 kB / 428.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.064e-06/0.2642, allocations: 0 / 428.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004855/0.269, allocations: 1.844 MB / 430.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002881/0.2693, allocations: 0.8273 MB / 431.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/0.27, allocations: 0.6607 MB / 432 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.2701, allocations: 45.7 kB / 432 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.2704, allocations: 361.3 kB / 432.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2706, allocations: 277.6 kB / 432.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.2708, allocations: 146.7 kB / 432.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2709, allocations: 338 kB / 433.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.2716, allocations: 283.7 kB / 433.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.2724, allocations: 0.5663 MB / 433.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2738, allocations: 0.7012 MB / 434.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2738, allocations: 0 / 434.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002566/0.2764, allocations: 1.13 MB / 435.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.2764, allocations: 85.11 kB / 435.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2765, allocations: 3.984 kB / 435.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.2771, allocations: 239.2 kB / 436.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.2778, allocations: 143.8 kB / 436.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/0.285, allocations: 6.931 MB / 443.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.2859, allocations: 111.4 kB / 443.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.2859, allocations: 24 kB / 443.3 MB, free: 13.44 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.0003299/0.2863, allocations: 229.7 kB / 443.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2864, allocations: 95.44 kB / 443.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.2866, allocations: 96.52 kB / 443.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2866, allocations: 8.234 kB / 443.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2866, allocations: 0 / 443.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002418/0.2891, allocations: 1.272 MB / 445 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.2927, allocations: 2.006 MB / 447 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2928, allocations: 0 / 447 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.2935, allocations: 143.8 kB / 447.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005119/0.294, allocations: 194.4 kB / 447.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.2941, allocations: 19.98 kB / 447.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006115/0.3002, allocations: 5.35 MB / 452.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3002, allocations: 0 / 452.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.3034, allocations: 1.446 MB / 454.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.3038, allocations: 252.4 kB / 454.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.3039, allocations: 16 kB / 454.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.3046, allocations: 52.08 kB / 454.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3048, allocations: 60.56 kB / 454.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.3048, allocations: 28 kB / 454.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005406/0.3053, allocations: 475 kB / 455 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3054, allocations: 0 / 455 MB, free: 1.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.3062, allocations: 299.7 kB / 455.3 MB, free: 0.7773 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.003502/0.3097, allocations: 2.013 MB / 457.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.3119, allocations: 1.387 MB / 458.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3119, allocations: 4 kB / 458.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.3133, allocations: 0.7885 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.001005/0.3143, allocations: 245.1 kB / 459.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.3265, allocations: 7.817 MB / 467.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.327, allocations: 0.9674 MB / 468.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.3274, allocations: 106.7 kB / 468.6 MB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.3278, allocations: 315.3 kB / 468.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3278, allocations: 0 / 468.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05574/0.3836, allocations: 26.61 MB / 495.5 MB, free: 8.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.89, allocations: 11.05 kB / 495.5 MB, free: 8.562 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.0.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