Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009349/0.0009348, allocations: 200.5 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 226.6 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008215/0.0008216, allocations: 109.5 kB / 296.8 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 7.938 kB / 356.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2137, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00307/0.2169, allocations: 4.549 MB / 412.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2182, allocations: 1.248 MB / 413.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.2185, allocations: 11.94 kB / 413.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.2187, allocations: 116.1 kB / 414 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.2191, allocations: 286.8 kB / 414.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.2194, allocations: 179.7 kB / 414.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.2201, allocations: 1.133 MB / 415.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.2204, allocations: 316.1 kB / 415.9 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2207, allocations: 402.5 kB / 416.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.221, allocations: 478.1 kB / 416.8 MB, free: 19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.572e-05/0.2211, allocations: 68 kB / 416.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.2213, allocations: 68 kB / 416.9 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2214, allocations: 187.2 kB / 417.1 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.2217, allocations: 0.4956 MB / 417.6 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.2222, allocations: 0.9309 MB / 418.5 MB, free: 17.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2222, allocations: 3.938 kB / 418.6 MB, free: 17.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2222, allocations: 0 / 418.6 MB, free: 17.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2222, allocations: 0 / 418.6 MB, free: 17.24 MB / 298.7 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.001892/0.2241, allocations: 1.236 MB / 419.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2242, allocations: 12.03 kB / 419.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.2243, allocations: 115.9 kB / 419.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2245, allocations: 115.6 kB / 420 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.2252, allocations: 0.6027 MB / 420.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.2254, allocations: 182.9 kB / 420.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.2255, allocations: 64.38 kB / 420.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.2268, allocations: 0.9289 MB / 421.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2268, allocations: 0 / 421.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.06e-05/0.2269, allocations: 36 kB / 421.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2269, allocations: 12 kB / 421.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2282, allocations: 0.6922 MB / 422.5 MB, free: 13.01 MB / 298.7 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.002733/0.231, allocations: 2.229 MB / 424.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.2325, allocations: 1.059 MB / 425.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.2332, allocations: 453.7 kB / 426.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.2333, allocations: 8.984 kB / 426.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2333, allocations: 47.22 kB / 426.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 3.206e-06/0.2333, allocations: 0 / 426.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.004673/0.238, allocations: 2.035 MB / 428.4 MB, free: 6.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.2382, allocations: 0.8273 MB / 429.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.2389, allocations: 0.6568 MB / 429.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.239, allocations: 45.7 kB / 429.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2392, allocations: 360.9 kB / 430.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.2393, allocations: 264 kB / 430.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.2394, allocations: 20 kB / 430.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.2394, allocations: 330 kB / 430.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.2401, allocations: 313.8 kB / 431.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.2409, allocations: 0.5898 MB / 431.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2422, allocations: 0.7599 MB / 432.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2422, allocations: 0 / 432.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002487/0.2447, allocations: 1.231 MB / 433.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.2447, allocations: 85.11 kB / 433.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2448, allocations: 4 kB / 433.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.2454, allocations: 243.3 kB / 434 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.246, allocations: 163.8 kB / 434.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006829/0.2528, allocations: 6.485 MB / 440.7 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2539, allocations: 135.2 kB / 440.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.254, allocations: 28 kB / 440.9 MB, free: 9.465 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.2543, allocations: 225.7 kB / 441.1 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.2545, allocations: 90.97 kB / 441.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.2547, allocations: 100.5 kB / 441.3 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2547, allocations: 4 kB / 441.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2547, allocations: 4 kB / 441.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00254/0.2572, allocations: 1.366 MB / 442.6 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.261, allocations: 2.101 MB / 444.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2611, allocations: 4 kB / 444.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.2618, allocations: 155.8 kB / 444.9 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/0.2624, allocations: 214.5 kB / 445.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.2624, allocations: 19.94 kB / 445.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/0.2684, allocations: 5.06 MB / 450.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2684, allocations: 3.984 kB / 450.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.272, allocations: 1.566 MB / 451.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.2724, allocations: 251.8 kB / 452 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.2726, allocations: 20 kB / 452 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/0.2734, allocations: 75.84 kB / 452.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.2736, allocations: 64.75 kB / 452.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.2736, allocations: 20 kB / 452.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005542/0.2742, allocations: 471 kB / 452.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2742, allocations: 4 kB / 452.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008575/0.2751, allocations: 291.6 kB / 452.9 MB, free: 12.75 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003628/0.2787, allocations: 2.146 MB / 455.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.281, allocations: 1.422 MB / 456.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.281, allocations: 4.125 kB / 456.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.2824, allocations: 0.8315 MB / 457.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.2835, allocations: 223.5 kB / 457.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009258/0.2927, allocations: 5.671 MB / 463.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.2932, allocations: 0.9597 MB / 464.2 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.2937, allocations: 323.3 kB / 464.5 MB, free: 0.832 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2937, allocations: 0 / 464.5 MB, free: 0.832 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.454/4.748, allocations: 24.92 MB / 489.4 MB, free: 7.844 MB / 362.7 MB (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches