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.001398/0.001398, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2242, allocations: 50.54 MB / 408.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005249/0.2295, allocations: 5.213 MB / 414 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.2314, allocations: 1.361 MB / 415.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2317, allocations: 11.94 kB / 415.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.232, allocations: 166.5 kB / 415.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.2326, allocations: 337.1 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.233, allocations: 247.6 kB / 416.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.234, allocations: 1.219 MB / 417.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.2344, allocations: 338.1 kB / 417.6 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.2348, allocations: 474.4 kB / 418.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.2353, allocations: 0.5368 MB / 418.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.2355, allocations: 108 kB / 418.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2356, allocations: 108 kB / 418.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2358, allocations: 239.2 kB / 419.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004385/0.2362, allocations: 0.5366 MB / 419.6 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.2372, allocations: 1.254 MB / 420.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2372, allocations: 0 / 420.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2372, allocations: 0 / 420.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.2372, allocations: 0 / 420.8 MB, free: 5.551 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.002206/0.2394, allocations: 1.391 MB / 422.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2395, allocations: 12.03 kB / 422.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.2397, allocations: 123.9 kB / 422.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.2398, allocations: 111.7 kB / 422.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.2407, allocations: 0.6066 MB / 423.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2409, allocations: 143 kB / 423.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.241, allocations: 72.28 kB / 423.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2424, allocations: 0.9055 MB / 424.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2424, allocations: 0 / 424.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.2425, allocations: 35.94 kB / 424.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2425, allocations: 16 kB / 424.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2439, allocations: 0.6336 MB / 424.9 MB, free: 1.266 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.003027/0.2469, allocations: 2.201 MB / 427.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.2485, allocations: 1.004 MB / 428.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.2492, allocations: 419.2 kB / 428.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.2493, allocations: 16.64 kB / 428.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2493, allocations: 47.22 kB / 428.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 1.863e-06/0.2493, allocations: 4 kB / 428.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004826/0.2542, allocations: 1.835 MB / 430.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003611/0.2545, allocations: 0.8234 MB / 431.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008297/0.2554, allocations: 0.6608 MB / 431.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/0.2555, allocations: 41.7 kB / 431.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.2558, allocations: 368.8 kB / 432.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.256, allocations: 268.1 kB / 432.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.2563, allocations: 146.6 kB / 432.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2564, allocations: 333.9 kB / 433 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.2571, allocations: 281.8 kB / 433.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.2579, allocations: 0.5681 MB / 433.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2593, allocations: 0.6973 MB / 434.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2593, allocations: 0 / 434.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002538/0.2618, allocations: 1.133 MB / 435.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.2619, allocations: 91.75 kB / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2619, allocations: 0 / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.2625, allocations: 235.2 kB / 436 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.2632, allocations: 147.8 kB / 436.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.2708, allocations: 6.935 MB / 443.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/0.2717, allocations: 103.4 kB / 443.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.2718, allocations: 27.94 kB / 443.2 MB, free: 13.68 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.0003757/0.2721, allocations: 221.7 kB / 443.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.2723, allocations: 90.97 kB / 443.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.2725, allocations: 96.52 kB / 443.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2725, allocations: 8 kB / 443.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2726, allocations: 0 / 443.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002395/0.275, allocations: 1.264 MB / 444.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.2787, allocations: 1.998 MB / 446.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2787, allocations: 0 / 446.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.2794, allocations: 151.8 kB / 447 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004933/0.2799, allocations: 194.5 kB / 447.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.28, allocations: 20 kB / 447.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/0.286, allocations: 5.345 MB / 452.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.286, allocations: 0 / 452.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.2892, allocations: 1.446 MB / 454 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.2896, allocations: 247.8 kB / 454.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.2898, allocations: 20.19 kB / 454.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.2904, allocations: 51.89 kB / 454.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.2906, allocations: 68.55 kB / 454.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.2906, allocations: 24.11 kB / 454.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005821/0.2912, allocations: 479 kB / 454.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2912, allocations: 0 / 454.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008546/0.2921, allocations: 287.7 kB / 455.2 MB, free: 1.039 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.003467/0.2956, allocations: 2.021 MB / 457.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.2978, allocations: 1.379 MB / 458.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2978, allocations: 0 / 458.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.2991, allocations: 0.7847 MB / 459.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.3001, allocations: 234.8 kB / 459.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.3126, allocations: 7.791 MB / 467.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.3132, allocations: 0.9636 MB / 468.4 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.3136, allocations: 106.7 kB / 468.5 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.314, allocations: 315.3 kB / 468.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.314, allocations: 0 / 468.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/0.3707, allocations: 27.26 MB / 496 MB, free: 8.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.63, allocations: 18.94 kB / 496.1 MB, free: 8.203 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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