Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_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.001163/0.001163, allocations: 116.2 kB / 17.06 MB, free: 6 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.001266/0.001266, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000977/0.000977, allocations: 51.91 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2768, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006217/0.2831, allocations: 5.192 MB / 405.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.2857, allocations: 1.329 MB / 406.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.2861, allocations: 11.94 kB / 406.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.2866, allocations: 166.5 kB / 406.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006829/0.2873, allocations: 333.1 kB / 407.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.2878, allocations: 239.6 kB / 407.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.289, allocations: 1.231 MB / 408.7 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.2895, allocations: 338.1 kB / 409.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.29, allocations: 474.3 kB / 409.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.2906, allocations: 0.533 MB / 410 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.2907, allocations: 108 kB / 410.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2909, allocations: 108 kB / 410.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.291, allocations: 235.2 kB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2915, allocations: 0.5405 MB / 411 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2926, allocations: 1.257 MB / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2926, allocations: 0 / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2926, allocations: 0 / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.2927, allocations: 0 / 412.3 MB, free: 12.67 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.002366/0.295, allocations: 1.387 MB / 413.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2951, allocations: 12.03 kB / 413.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.2953, allocations: 123.8 kB / 413.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2954, allocations: 111.7 kB / 413.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2965, allocations: 0.6104 MB / 414.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.2967, allocations: 143 kB / 414.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.2968, allocations: 64.38 kB / 414.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2982, allocations: 0.9094 MB / 415.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2982, allocations: 7.906 kB / 415.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.2983, allocations: 28 kB / 415.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2983, allocations: 16 kB / 415.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.2997, allocations: 0.6375 MB / 416.3 MB, free: 8.395 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.003164/0.3029, allocations: 2.201 MB / 418.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3046, allocations: 1.011 MB / 419.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/0.3054, allocations: 423.2 kB / 419.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.3054, allocations: 20.64 kB / 420 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3055, allocations: 51.16 kB / 420 MB, free: 4.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 1.984e-06/0.3055, allocations: 0 / 420 MB, free: 4.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.004916/0.3104, allocations: 1.843 MB / 421.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003262/0.3107, allocations: 0.8195 MB / 422.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.3115, allocations: 0.6608 MB / 423.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.3116, allocations: 45.7 kB / 423.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.3119, allocations: 368.9 kB / 423.7 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.3121, allocations: 260.2 kB / 424 MB, free: 236 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.3123, allocations: 150.7 kB / 424.1 MB, free: 80 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3125, allocations: 330 kB / 424.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.3131, allocations: 281.8 kB / 424.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.314, allocations: 0.5624 MB / 425.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.3153, allocations: 0.7013 MB / 426 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3154, allocations: 0 / 426 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002573/0.3179, allocations: 1.137 MB / 427.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.318, allocations: 81.11 kB / 427.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.318, allocations: 4 kB / 427.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.3187, allocations: 239.2 kB / 427.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.3193, allocations: 151.8 kB / 427.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/0.3266, allocations: 6.915 MB / 434.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009943/0.3276, allocations: 99.36 kB / 434.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.3277, allocations: 31.92 kB / 434.7 MB, free: 4.801 MB / 350.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.0003504/0.328, allocations: 229.7 kB / 434.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3282, allocations: 90.97 kB / 435 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3283, allocations: 92.52 kB / 435.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3284, allocations: 8 kB / 435.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3284, allocations: 4.125 kB / 435.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/0.3308, allocations: 1.26 MB / 436.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.3345, allocations: 1.998 MB / 438.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3345, allocations: 4 kB / 438.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/0.3352, allocations: 151.8 kB / 438.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/0.3357, allocations: 194.5 kB / 438.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.3358, allocations: 19.98 kB / 438.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0064/0.3422, allocations: 5.353 MB / 444 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3422, allocations: 0 / 444 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.3456, allocations: 1.446 MB / 445.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.346, allocations: 239.8 kB / 445.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.3462, allocations: 23.98 kB / 445.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.3469, allocations: 47.95 kB / 445.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.3471, allocations: 64.56 kB / 445.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3472, allocations: 20 kB / 445.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.3478, allocations: 479 kB / 446.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3478, allocations: 3.938 kB / 446.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009268/0.3488, allocations: 287.7 kB / 446.6 MB, free: 8.16 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.003649/0.3524, allocations: 2.017 MB / 448.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.3549, allocations: 1.375 MB / 450 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.355, allocations: 0 / 450 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.3564, allocations: 0.7887 MB / 450.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3577, allocations: 243 kB / 451 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.3717, allocations: 7.787 MB / 458.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.3722, allocations: 0.9675 MB / 459.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005034/0.3727, allocations: 106.7 kB / 459.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.3732, allocations: 319.3 kB / 460.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3732, allocations: 0 / 460.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0816/0.4548, allocations: 27.26 MB / 487.5 MB, free: 15.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.23, allocations: 4.562 kB / 487.5 MB, free: 15.37 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches